From cea296fa9b65e1d3a87117fba972af628ba46e4d Mon Sep 17 00:00:00 2001
From: seanmuir
Date: Mon, 26 Nov 2012 23:12:42 +0000
Subject: [PATCH] 1.2.0.RC1_v201211261737 Tag
---
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 21 +
.../build.properties | 17 +
.../plugin.properties | 14 +
.../AdvanceDirectiveObservationTest.java | 559 +
.../tests/AdvanceDirectiveReferenceTest.java | 343 +
...AdvanceDirectiveStatusObservationTest.java | 140 +
.../AdvanceDirectiveVerificationTest.java | 211 +
.../tests/AdvanceDirectivesSectionTest.java | 303 +
.../uml/cda/ccd/tests/AgeObservationTest.java | 344 +
.../cda/ccd/tests/AlertObservationTest.java | 704 +
.../ccd/tests/AlertStatusObservationTest.java | 140 +
.../uml/cda/ccd/tests/AlertsSectionTest.java | 316 +
.../ccd/tests/AuthorizationActivityTest.java | 627 +
.../mdht/uml/cda/ccd/tests/CCDAllTests.java | 54 +
.../mdht/uml/cda/ccd/tests/CCDExample.java | 116 +
.../ccd/tests/CCDRegistryDelegateTest.java | 112 +
.../mdht/uml/cda/ccd/tests/CCDTests.java | 64 +
.../tests/CauseOfDeathObservationTest.java | 140 +
.../mdht/uml/cda/ccd/tests/CommentTest.java | 236 +
.../tests/ContinuityOfCareDocumentTest.java | 1646 ++
.../cda/ccd/tests/CoverageActivityTest.java | 459 +
.../tests/CoveragePlanDescriptionTest.java | 211 +
.../uml/cda/ccd/tests/CoveredPartyTest.java | 179 +
.../cda/ccd/tests/EncounterLocationTest.java | 419 +
.../cda/ccd/tests/EncountersActivityTest.java | 542 +
.../cda/ccd/tests/EncountersSectionTest.java | 303 +
.../cda/ccd/tests/EpisodeObservationTest.java | 415 +
...ilyHistoryCauseOfDeathObservationTest.java | 195 +
.../tests/FamilyHistoryObservationTest.java | 706 +
.../ccd/tests/FamilyHistoryOrganizerTest.java | 715 +
.../ccd/tests/FamilyHistorySectionTest.java | 374 +
.../ccd/tests/FulfillmentInstructionTest.java | 175 +
.../FunctionalStatusObservationTest.java | 140 +
.../tests/FunctionalStatusSectionTest.java | 549 +
.../ccd/tests/ImmunizationsSectionTest.java | 387 +
.../tests/MedicalEquipmentSectionTest.java | 351 +
.../cda/ccd/tests/MedicationActivityTest.java | 1065 ++
...MedicationSeriesNumberObservationTest.java | 330 +
.../MedicationStatusObservationTest.java | 140 +
.../cda/ccd/tests/MedicationsSectionTest.java | 391 +
.../cda/ccd/tests/PatientAwarenessTest.java | 253 +
.../cda/ccd/tests/PatientInstructionTest.java | 175 +
.../uml/cda/ccd/tests/PayerEntityTest.java | 144 +
.../uml/cda/ccd/tests/PayersSectionTest.java | 316 +
.../ccd/tests/PlanOfCareActivityActTest.java | 247 +
.../PlanOfCareActivityEncounterTest.java | 247 +
.../PlanOfCareActivityObservationTest.java | 253 +
.../PlanOfCareActivityProcedureTest.java | 247 +
...reActivitySubstanceAdministrationTest.java | 248 +
.../tests/PlanOfCareActivitySupplyTest.java | 249 +
.../cda/ccd/tests/PlanOfCareActivityTest.java | 45 +
.../cda/ccd/tests/PlanOfCareSectionTest.java | 556 +
.../uml/cda/ccd/tests/PolicyActivityTest.java | 748 +
.../cda/ccd/tests/PolicySubscriberTest.java | 141 +
.../uml/cda/ccd/tests/ProblemActTest.java | 568 +
.../ProblemHealthStatusObservationTest.java | 220 +
.../cda/ccd/tests/ProblemObservationTest.java | 490 +
.../uml/cda/ccd/tests/ProblemSectionTest.java | 318 +
.../tests/ProblemStatusObservationTest.java | 140 +
.../ccd/tests/ProcedureActivityActTest.java | 612 +
.../ProcedureActivityObservationTest.java | 661 +
.../tests/ProcedureActivityProcedureTest.java | 644 +
.../cda/ccd/tests/ProcedureActivityTest.java | 45 +
.../cda/ccd/tests/ProceduresSectionTest.java | 329 +
.../cda/ccd/tests/ProductInstanceTest.java | 213 +
.../mdht/uml/cda/ccd/tests/ProductTest.java | 429 +
.../cda/ccd/tests/PurposeActivityTest.java | 369 +
.../uml/cda/ccd/tests/PurposeSectionTest.java | 318 +
.../ccd/tests/ReactionObservationTest.java | 445 +
.../cda/ccd/tests/ResultObservationTest.java | 612 +
.../cda/ccd/tests/ResultOrganizerTest.java | 491 +
.../uml/cda/ccd/tests/ResultsSectionTest.java | 318 +
.../ccd/tests/SeverityObservationTest.java | 329 +
.../tests/SocialHistoryObservationTest.java | 423 +
.../ccd/tests/SocialHistorySectionTest.java | 553 +
.../SocialHistoryStatusObservationTest.java | 223 +
.../cda/ccd/tests/StatusObservationTest.java | 487 +
.../uml/cda/ccd/tests/SupplyActivityTest.java | 746 +
.../cda/ccd/tests/SupportGuardianTest.java | 45 +
.../cda/ccd/tests/SupportParticipantTest.java | 45 +
.../mdht/uml/cda/ccd/tests/SupportTest.java | 44 +
.../ccd/tests/VitalSignsOrganizerTest.java | 180 +
.../cda/ccd/tests/VitalSignsSectionTest.java | 309 +
.../test.xml | 123 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 23 +
.../build.properties | 17 +
.../plugin.properties | 14 +
.../AssessmentAndPlanSectionProcNoteTest.java | 179 +
.../tests/AssessmentAndPlanSectionTest.java | 179 +
.../tests/AssessmentSectionProcNoteTest.java | 179 +
.../cda/cdt/tests/AssessmentSectionTest.java | 179 +
.../mdht/uml/cda/cdt/tests/CDTAllTests.java | 50 +
.../mdht/uml/cda/cdt/tests/CDTExample.java | 116 +
.../cdt/tests/CDTRegistryDelegateTest.java | 116 +
.../mdht/uml/cda/cdt/tests/CDTTests.java | 48 +
.../ChiefComplaintSectionProcNoteTest.java | 179 +
.../cdt/tests/ChiefComplaintSectionTest.java | 179 +
.../cda/cdt/tests/ConsultationNoteTest.java | 996 ++
.../cda/cdt/tests/DiagnosticFindingsTest.java | 148 +
.../tests/GeneralHeaderConstraintsTest.java | 1620 ++
.../cdt/tests/GeneralStatusSectionTest.java | 179 +
.../cda/cdt/tests/HistoryAndPhysicalTest.java | 1211 ++
.../tests/HistoryOfPresentIllnessTest.java | 179 +
...talDischargeStudiesSummarySectionTest.java | 215 +
.../cdt/tests/LevelOneConformanceTest.java | 144 +
.../cdt/tests/LevelThreeConformanceTest.java | 144 +
.../cdt/tests/LevelTwoConformanceTest.java | 144 +
.../cda/cdt/tests/ObjectiveSectionTest.java | 298 +
.../PastMedicalHistorySectionConsultTest.java | 219 +
.../tests/PastMedicalHistorySectionTest.java | 259 +
.../tests/PhysicalExaminationSectionTest.java | 179 +
.../uml/cda/cdt/tests/PlanSectionTest.java | 181 +
.../uml/cda/cdt/tests/ProgressNoteTest.java | 1273 ++
.../tests/ReasonForReferralSectionTest.java | 179 +
...nForVisitAndChiefComplaintSectionTest.java | 179 +
.../ReasonForVisitSectionConsultTest.java | 179 +
.../cdt/tests/ReasonForVisitSectionTest.java | 179 +
.../tests/ReviewOfSystemsSectionIHETest.java | 179 +
.../cdt/tests/ReviewOfSystemsSectionTest.java | 179 +
.../cda/cdt/tests/SubjectiveSectionTest.java | 297 +
.../cdt/tests/UnstructuredDocumentTest.java | 612 +
.../cda/cdt/tests/VitalSignsSectionTest.java | 314 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 21 +
.../build.properties | 16 +
.../plugin.properties | 13 +
.../consol/tests/AdmissionMedicationTest.java | 332 +
.../AdvanceDirectiveObservationTest.java | 1369 ++
...eDirectivesSectionEntriesOptionalTest.java | 339 +
.../tests/AdvanceDirectivesSectionTest.java | 338 +
.../cda/consol/tests/AgeObservationTest.java | 437 +
.../AllergiesSectionEntriesOptionalTest.java | 331 +
.../consol/tests/AllergiesSectionTest.java | 339 +
.../consol/tests/AllergyObservationTest.java | 1737 +++
.../consol/tests/AllergyProblemActTest.java | 497 +
.../tests/AllergyStatusObservationTest.java | 326 +
.../consol/tests/AnesthesiaSectionTest.java | 386 +
.../tests/AssessmentAndPlanSectionTest.java | 298 +
.../tests/AssessmentScaleObservationTest.java | 947 ++
...essmentScaleSupportingObservationTest.java | 470 +
.../consol/tests/AssessmentSectionTest.java | 290 +
.../tests/AuthorizationActivityTest.java | 970 ++
.../consol/tests/BoundaryObservationTest.java | 286 +
.../tests/CaregiverCharacteristicsTest.java | 672 +
...ComplaintAndReasonForVisitSectionTest.java | 290 +
.../tests/ChiefComplaintSectionTest.java | 290 +
.../consol/tests/CodeObservationsTest.java | 431 +
...CognitiveStatusProblemObservationTest.java | 904 ++
.../CognitiveStatusResultObservationTest.java | 1061 ++
.../CognitiveStatusResultOrganizerTest.java | 434 +
.../cda/consol/tests/CommentActivityTest.java | 1139 ++
.../tests/ComplicationsSectionTest.java | 338 +
.../uml/cda/consol/tests/ConsolAllTests.java | 54 +
.../uml/cda/consol/tests/ConsolExample.java | 119 +
.../uml/cda/consol/tests/ConsolTests.java | 99 +
.../consol/tests/ConsultationNoteTest.java | 2270 +++
.../tests/ContinuityOfCareDocumentTest.java | 1796 +++
.../consol/tests/CoverageActivityTest.java | 413 +
.../tests/DICOMObjectCatalogSectionTest.java | 260 +
.../uml/cda/consol/tests/DataEntererTest.java | 45 +
.../consol/tests/DeceasedObservationTest.java | 600 +
.../tests/DiagnosticImagingReportTest.java | 1451 ++
.../tests/DischargeDietSectionTest.java | 290 +
.../consol/tests/DischargeMedicationTest.java | 299 +
.../consol/tests/DischargeSummaryTest.java | 2295 +++
.../uml/cda/consol/tests/DrugVehicleTest.java | 321 +
.../consol/tests/EncounterActivitiesTest.java | 826 +
.../consol/tests/EncounterDiagnosisTest.java | 331 +
.../EncountersSectionEntriesOptionalTest.java | 339 +
.../consol/tests/EncountersSectionTest.java | 339 +
.../tests/EstimatedDateOfDeliveryTest.java | 324 +
.../FamilyHistoryDeathObservationTest.java | 331 +
.../tests/FamilyHistoryObservationTest.java | 675 +
.../tests/FamilyHistoryOrganizerTest.java | 758 +
.../tests/FamilyHistorySectionTest.java | 338 +
.../consol/tests/FetusSubjectContextTest.java | 206 +
.../cda/consol/tests/FindingsSectionTest.java | 140 +
...unctionalStatusProblemObservationTest.java | 979 ++
...FunctionalStatusResultObservationTest.java | 1054 ++
.../FunctionalStatusResultOrganizerTest.java | 434 +
.../tests/FunctionalStatusSectionTest.java | 831 +
.../tests/GeneralHeaderConstraintsTest.java | 12852 ++++++++++++++++
.../tests/GeneralStatusSectionTest.java | 290 +
.../tests/HealthStatusObservationTest.java | 541 +
.../consol/tests/HealthcareProviderTest.java | 45 +
.../tests/HighestPressureUlcerStageTest.java | 351 +
.../tests/HistoryAndPhysicalNoteTest.java | 2305 +++
.../HistoryOfPastIllnessSectionTest.java | 338 +
.../HistoryOfPresentIllnessSectionTest.java | 290 +
...HospitalAdmissionDiagnosisSectionTest.java | 338 +
.../tests/HospitalAdmissionDiagnosisTest.java | 301 +
...MedicationsSectionEntriesOptionalTest.java | 338 +
.../HospitalConsultationsSectionTest.java | 290 +
.../tests/HospitalCourseSectionTest.java | 290 +
...HospitalDischargeDiagnosisSectionTest.java | 338 +
.../tests/HospitalDischargeDiagnosisTest.java | 299 +
...pitalDischargeInstructionsSectionTest.java | 290 +
...MedicationsSectionEntriesOptionalTest.java | 338 +
...spitalDischargeMedicationsSectionTest.java | 338 +
.../HospitalDischargePhysicalSectionTest.java | 290 +
...talDischargeStudiesSummarySectionTest.java | 290 +
.../tests/ImmunizationActivityTest.java | 1583 ++
...ImmunizationMedicationInformationTest.java | 550 +
.../tests/ImmunizationRefusalReasonTest.java | 325 +
...munizationsSectionEntriesOptionalTest.java | 336 +
.../tests/ImmunizationsSectionTest.java | 343 +
.../uml/cda/consol/tests/IndicationTest.java | 513 +
.../uml/cda/consol/tests/InformantTest.java | 45 +
.../tests/InformationRecipientTest.java | 45 +
.../consol/tests/InstructionsSectionTest.java | 337 +
.../cda/consol/tests/InstructionsTest.java | 454 +
.../tests/InterventionsSectionTest.java | 290 +
.../tests/MedicalEquipmentSectionTest.java | 338 +
.../tests/MedicalHistorySectionTest.java | 290 +
.../consol/tests/MedicationActivityTest.java | 1729 +++
.../consol/tests/MedicationDispenseTest.java | 1064 ++
.../tests/MedicationInformationTest.java | 522 +
.../tests/MedicationSupplyOrderTest.java | 676 +
.../tests/MedicationUseNoneKnownTest.java | 632 +
.../MedicationsAdministeredSectionTest.java | 338 +
...MedicationsSectionEntriesOptionalTest.java | 305 +
.../consol/tests/MedicationsSectionTest.java | 305 +
.../tests/NonMedicinalSupplyActivityTest.java | 506 +
...NumberOfPressureUlcersObservationTest.java | 824 +
.../consol/tests/ObjectiveSectionTest.java | 290 +
.../cda/consol/tests/ObserverContextTest.java | 172 +
.../tests/OperativeNoteFluidSectionTest.java | 290 +
...ativeNoteSurgicalProcedureSectionTest.java | 290 +
.../cda/consol/tests/OperativeNoteTest.java | 1830 +++
.../cda/consol/tests/PayersSectionTest.java | 336 +
.../mdht/uml/cda/consol/tests/PersonTest.java | 45 +
.../consol/tests/PhysicalExamSectionTest.java | 434 +
.../PhysicianReadingStudyPerformerTest.java | 453 +
.../PhysicianofRecordParticipantTest.java | 457 +
.../tests/PlanOfCareActivityActTest.java | 257 +
.../PlanOfCareActivityEncounterTest.java | 263 +
.../PlanOfCareActivityObservationTest.java | 266 +
.../PlanOfCareActivityProcedureTest.java | 263 +
...reActivitySubstanceAdministrationTest.java | 263 +
.../tests/PlanOfCareActivitySupplyTest.java | 263 +
.../consol/tests/PlanOfCareSectionTest.java | 639 +
.../tests/PlannedProcedureSectionTest.java | 339 +
.../cda/consol/tests/PolicyActivityTest.java | 4154 +++++
.../PostoperativeDiagnosisSectionTest.java | 290 +
.../PostprocedureDiagnosisSectionTest.java | 339 +
.../tests/PostprocedureDiagnosisTest.java | 301 +
...nditionForSubstanceAdministrationTest.java | 296 +
.../tests/PregnancyObservationTest.java | 462 +
.../PreoperativeDiagnosisSectionTest.java | 338 +
.../tests/PreoperativeDiagnosisTest.java | 300 +
.../tests/PressureUlcerObservationTest.java | 2096 +++
.../consol/tests/ProblemConcernActTest.java | 527 +
.../consol/tests/ProblemObservationTest.java | 1097 ++
.../ProblemSectionEntriesOptionalTest.java | 338 +
.../cda/consol/tests/ProblemSectionTest.java | 338 +
.../cda/consol/tests/ProblemStatusTest.java | 498 +
.../tests/ProcedureActivityActTest.java | 1774 +++
.../ProcedureActivityObservationTest.java | 1931 +++
.../tests/ProcedureActivityProcedureTest.java | 2090 +++
.../consol/tests/ProcedureContextTest.java | 251 +
.../ProcedureDescriptionSectionTest.java | 290 +
.../ProcedureDispositionSectionTest.java | 290 +
...rocedureEstimatedBloodLossSectionTest.java | 290 +
.../tests/ProcedureFindingsSectionTest.java | 339 +
.../tests/ProcedureImplantsSectionTest.java | 290 +
.../ProcedureIndicationsSectionTest.java | 338 +
.../cda/consol/tests/ProcedureNoteTest.java | 3452 +++++
.../ProcedureSpecimensTakenSectionTest.java | 290 +
.../ProceduresSectionEntriesOptionalTest.java | 433 +
.../consol/tests/ProceduresSectionTest.java | 470 +
.../cda/consol/tests/ProductInstanceTest.java | 361 +
.../cda/consol/tests/ProgressNoteTest.java | 1852 +++
.../PurposeofReferenceObservationTest.java | 328 +
.../QuantityMeasurementObservationTest.java | 454 +
.../consol/tests/ReactionObservationTest.java | 1032 ++
.../tests/ReasonForReferralSectionTest.java | 290 +
.../tests/ReasonForVisitSectionTest.java | 290 +
.../ReferencedFramesObservationTest.java | 305 +
.../consol/tests/ResultObservationTest.java | 862 ++
.../cda/consol/tests/ResultOrganizerTest.java | 483 +
.../ResultsSectionEntriesOptionalTest.java | 345 +
.../cda/consol/tests/ResultsSectionTest.java | 340 +
.../tests/ReviewOfSystemsSectionTest.java | 290 +
.../tests/SOPInstanceObservationTest.java | 794 +
.../uml/cda/consol/tests/SeriesActTest.java | 653 +
.../tests/ServiceDeliveryLocationTest.java | 405 +
.../consol/tests/SeverityObservationTest.java | 534 +
.../tests/SmokingStatusObservationTest.java | 548 +
.../tests/SocialHistoryObservationTest.java | 547 +
.../tests/SocialHistorySectionTest.java | 482 +
.../uml/cda/consol/tests/StudyActTest.java | 609 +
.../consol/tests/SubjectiveSectionTest.java | 290 +
.../cda/consol/tests/SupportGuardianTest.java | 45 +
.../consol/tests/SupportParticipantTest.java | 45 +
.../uml/cda/consol/tests/SupportTest.java | 45 +
.../tests/SurgicalDrainsSectionTest.java | 290 +
.../cda/consol/tests/TextObservationTest.java | 603 +
.../uml/cda/consol/tests/TobaccoUseTest.java | 490 +
.../tests/UnstructuredDocumentTest.java | 767 +
.../tests/VitalSignObservationTest.java | 755 +
.../consol/tests/VitalSignsOrganizerTest.java | 415 +
.../VitalSignsSectionEntriesOptionalTest.java | 337 +
.../consol/tests/VitalSignsSectionTest.java | 342 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 22 +
.../build.properties | 16 +
.../plugin.properties | 12 +
.../samples/DI_sample_l3_conformances.xml | 858 ++
.../samples/DS.sample.l1.conformances.xml | 99 +
.../samples/DS.sample.l2.conformances.xml | 608 +
.../samples/DS.sample.l3.conformances-1.xml | 1028 ++
.../samples/DS.sample.l3.conformances.xml | 1236 ++
.../cda/consoltoc/tests/ConsoltocExample.java | 122 +
.../cda/consoltoc/tests/ConsoltocTests.java | 38 +
.../tests/ConsultationRequestTest.java | 1508 ++
.../tests/ConsultationSummaryTest.java | 1053 ++
.../tests/DischargeInstructionsTest.java | 574 +
.../consoltoc/tests/DischargeSummaryTest.java | 1339 ++
.../mdht/uml/cda/consoltoc/tests/Main.java | 116 +
.../tests/consoltoc_EcoreAllTests.java | 51 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 22 +
.../build.properties | 12 +
.../plugin.properties | 8 +
.../cda/emspcr/tests/DerivedEntryTest.java | 244 +
.../EMSAdvanceDirectivesSectionTest.java | 463 +
...lergiesAndAdverseReactionsSectionTest.java | 532 +
.../emspcr/tests/EMSBillingSectionTest.java | 532 +
.../EMSCardiacArrestEventSectionTest.java | 463 +
.../EMSCurrentMedicationSectionTest.java | 601 +
.../emspcr/tests/EMSDispatchSectionTest.java | 532 +
.../tests/EMSDispositionSectionTest.java | 946 ++
...SInjuryIncidentDescriptionSectionTest.java | 1084 ++
...EMSMedicationsAdministeredSectionTest.java | 532 +
.../EMSPastMedicalHistorySectionTest.java | 601 +
.../EMSPatientCareNarrativeSectionTest.java | 463 +
.../EMSPersonnelAdverseEventSectionTest.java | 601 +
.../EMSPhysicalAssessmentSectionTest.java | 877 ++
.../EMSProceduresPerformedSectionTest.java | 532 +
.../emspcr/tests/EMSProtocolSectionTest.java | 601 +
.../emspcr/tests/EMSResponseSectionTest.java | 739 +
.../cda/emspcr/tests/EMSSceneSectionTest.java | 670 +
.../emspcr/tests/EMSSituationSectionTest.java | 1015 ++
.../tests/EMSSocialHistorySectionTest.java | 601 +
.../cda/emspcr/tests/EMSTimesSectionTest.java | 1015 ++
.../tests/EMSVitalSignsSectionTest.java | 463 +
.../uml/cda/emspcr/tests/EmspcrExample.java | 135 +
.../uml/cda/emspcr/tests/EmspcrTests.java | 43 +
.../emspcr/tests/PatientCareReportTest.java | 3172 ++++
.../emspcr/tests/emspcr_EcoreAllTests.java | 51 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 24 +
.../build.properties | 17 +
.../plugin.properties | 14 +
...AdmissionMedicationHistorySectionTest.java | 144 +
.../cda/hitsp/tests/AdvanceDirectiveTest.java | 584 +
.../tests/AdvanceDirectivesSectionTest.java | 195 +
.../tests/AllergiesReactionsSectionTest.java | 195 +
.../tests/AllergyDrugSensitivityTest.java | 1053 ++
.../tests/AssessmentAndPlanSectionTest.java | 332 +
.../tests/ChiefComplaintSectionTest.java | 197 +
.../mdht/uml/cda/hitsp/tests/CommentTest.java | 177 +
.../cda/hitsp/tests/ConditionEntryTest.java | 584 +
.../uml/cda/hitsp/tests/ConditionTest.java | 328 +
.../tests/DiagnosticResultsSectionTest.java | 316 +
.../tests/DischargeDiagnosisSectionTest.java | 196 +
.../cda/hitsp/tests/DischargeSummaryTest.java | 1189 ++
.../uml/cda/hitsp/tests/EncounterTest.java | 241 +
.../hitsp/tests/EncountersSectionTest.java | 195 +
.../hitsp/tests/FamilyHistorySectionTest.java | 196 +
.../cda/hitsp/tests/FamilyHistoryTest.java | 408 +
.../tests/FunctionalStatusSectionTest.java | 144 +
.../uml/cda/hitsp/tests/HITSPAllTests.java | 54 +
.../uml/cda/hitsp/tests/HITSPExample.java | 116 +
.../tests/HITSPRegistryDelegateTest.java | 116 +
.../mdht/uml/cda/hitsp/tests/HITSPTests.java | 59 +
.../hitsp/tests/HealthcareProviderTest.java | 144 +
.../HistoryOfPastIllnessSectionTest.java | 197 +
.../tests/HistoryOfPresentIllnessTest.java | 144 +
...HospitalAdmissionDiagnosisSectionTest.java | 195 +
.../tests/HospitalCourseSectionTest.java | 144 +
...spitalDischargeMedicationsSectionTest.java | 196 +
.../uml/cda/hitsp/tests/ImmunizationTest.java | 280 +
.../hitsp/tests/ImmunizationsSectionTest.java | 195 +
.../hitsp/tests/InsuranceProviderTest.java | 1147 ++
.../cda/hitsp/tests/LanguageSpokenTest.java | 227 +
.../tests/MedicalEquipmentSectionTest.java | 144 +
.../MedicationCombinationMedicationTest.java | 47 +
.../tests/MedicationConditionalDoseTest.java | 47 +
.../tests/MedicationInformationTest.java | 437 +
.../hitsp/tests/MedicationNormalDoseTest.java | 47 +
.../tests/MedicationOrderInformationTest.java | 664 +
.../hitsp/tests/MedicationSplitDoseTest.java | 47 +
.../tests/MedicationTaperedDoseTest.java | 144 +
.../uml/cda/hitsp/tests/MedicationTest.java | 1257 ++
.../cda/hitsp/tests/MedicationTypeTest.java | 184 +
.../MedicationsAdministeredSectionTest.java | 144 +
.../hitsp/tests/MedicationsSectionTest.java | 196 +
.../cda/hitsp/tests/PastProcedureTest.java | 45 +
.../cda/hitsp/tests/PatientSummaryTest.java | 921 ++
.../cda/hitsp/tests/PayersSectionTest.java | 196 +
.../hitsp/tests/PhysicalExamSectionTest.java | 196 +
.../hitsp/tests/PlanOfCareSectionTest.java | 330 +
.../cda/hitsp/tests/PlannedProcedureTest.java | 45 +
.../hitsp/tests/ProblemListSectionTest.java | 195 +
.../uml/cda/hitsp/tests/ProcedureTest.java | 306 +
.../tests/ReasonForReferralSectionTest.java | 248 +
.../cda/hitsp/tests/ReferralSummaryTest.java | 140 +
.../cda/hitsp/tests/ResultOrganizerTest.java | 153 +
.../mdht/uml/cda/hitsp/tests/ResultTest.java | 392 +
.../tests/ReviewOfSystemsSectionTest.java | 144 +
.../hitsp/tests/SocialHistorySectionTest.java | 200 +
.../cda/hitsp/tests/SocialHistoryTest.java | 287 +
.../cda/hitsp/tests/SupportGuardianTest.java | 144 +
.../hitsp/tests/SupportParticipantTest.java | 144 +
.../mdht/uml/cda/hitsp/tests/SupportTest.java | 46 +
.../cda/hitsp/tests/SurgeriesSectionTest.java | 187 +
.../hitsp/tests/UnstructuredDocumentTest.java | 233 +
.../UnstructuredOrScannedDocumentTest.java | 45 +
.../uml/cda/hitsp/tests/VitalSignTest.java | 220 +
.../hitsp/tests/VitalSignsSectionTest.java | 191 +
.../test.xml | 126 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 23 +
.../build.properties | 17 +
.../plugin.properties | 14 +
.../uml/cda/ihe/tests/AbdomenSectionTest.java | 223 +
.../ihe/tests/ActiveProblemsSectionTest.java | 192 +
...AdmissionMedicationHistorySectionTest.java | 177 +
.../AdvanceDirectiveObservationTest.java | 361 +
.../tests/AdvanceDirectivesSectionTest.java | 142 +
.../tests/AllergiesReactionsSectionTest.java | 192 +
.../tests/AllergyIntoleranceConcernTest.java | 199 +
.../cda/ihe/tests/AllergyIntoleranceTest.java | 894 ++
.../tests/AssessmentAndPlanSectionTest.java | 177 +
.../uml/cda/ihe/tests/BreastSectionTest.java | 174 +
.../cda/ihe/tests/CarePlanSectionTest.java | 142 +
.../cda/ihe/tests/ChestWallSectionTest.java | 223 +
.../ihe/tests/ChiefComplaintSectionTest.java | 177 +
.../CodedAdvanceDirectivesSectionTest.java | 191 +
.../CodedFamilyMedicalHistorySectionTest.java | 188 +
.../CodedReasonForReferralSectionTest.java | 235 +
.../ihe/tests/CodedResultsSectionTest.java | 325 +
.../tests/CodedSocialHistorySectionTest.java | 185 +
.../ihe/tests/CodedSurgeriesSectionTest.java | 244 +
.../ihe/tests/CodedVitalSignsSectionTest.java | 193 +
.../ihe/tests/CombinationMedicationTest.java | 180 +
.../mdht/uml/cda/ihe/tests/CommentTest.java | 422 +
.../uml/cda/ihe/tests/ConcernEntryTest.java | 347 +
.../cda/ihe/tests/ConditionalDoseTest.java | 180 +
.../uml/cda/ihe/tests/CoverageEntryTest.java | 232 +
.../tests/DischargeDiagnosisSectionTest.java | 225 +
.../uml/cda/ihe/tests/DischargeDietTest.java | 174 +
.../cda/ihe/tests/DischargeSummaryTest.java | 233 +
.../tests/EarsNoseMouthThroatSectionTest.java | 223 +
.../uml/cda/ihe/tests/EarsSectionTest.java | 221 +
.../cda/ihe/tests/EncounterActivityTest.java | 142 +
.../uml/cda/ihe/tests/EncounterEntryTest.java | 321 +
.../tests/EncounterHistorySectionTest.java | 193 +
.../ihe/tests/EncounterPlanOfCareTest.java | 207 +
.../ihe/tests/EndocrineSystemSectionTest.java | 223 +
.../cda/ihe/tests/ExternalReferenceTest.java | 524 +
.../cda/ihe/tests/ExtremitiesSectionTest.java | 223 +
.../uml/cda/ihe/tests/EyesSectionTest.java | 221 +
.../tests/FamilyHistoryObservationTest.java | 220 +
.../ihe/tests/FamilyHistoryOrganizerTest.java | 386 +
.../FamilyMedicalHistorySectionTest.java | 142 +
.../tests/FunctionalStatusSectionTest.java | 136 +
.../tests/GeneralAppearanceSectionTest.java | 226 +
.../cda/ihe/tests/GenitaliaSectionTest.java | 223 +
.../uml/cda/ihe/tests/HeadSectionTest.java | 221 +
.../tests/HealthStatusObservationTest.java | 298 +
.../HealthcareProvidersPharmaciesTest.java | 142 +
.../uml/cda/ihe/tests/HeartSectionTest.java | 220 +
.../HistoryOfPastIllnessSectionTest.java | 177 +
.../tests/HistoryOfPresentIllnessTest.java | 177 +
...HospitalAdmissionDiagnosisSectionTest.java | 225 +
.../ihe/tests/HospitalCourseSectionTest.java | 177 +
...spitalDischargeMedicationsSectionTest.java | 226 +
.../tests/HospitalDischargePhysicalTest.java | 175 +
.../mdht/uml/cda/ihe/tests/IHEAllTests.java | 54 +
.../mdht/uml/cda/ihe/tests/IHEExample.java | 119 +
.../ihe/tests/IHERegistryDelegateTest.java | 114 +
.../mdht/uml/cda/ihe/tests/IHETests.java | 77 +
.../uml/cda/ihe/tests/ImmunizationTest.java | 330 +
.../ihe/tests/ImmunizationsSectionTest.java | 193 +
.../ihe/tests/IntakeOutputSectionTest.java | 142 +
.../tests/IntegumentarySystemSectionTest.java | 222 +
.../cda/ihe/tests/InternalReferenceTest.java | 217 +
.../ihe/tests/LanguageCommunicationTest.java | 142 +
.../cda/ihe/tests/LymphaticSectionTest.java | 223 +
.../ihe/tests/MedicalDevicesSectionTest.java | 142 +
.../cda/ihe/tests/MedicalDocumentTest.java | 142 +
.../uml/cda/ihe/tests/MedicalSummaryTest.java | 297 +
...edicationFullfillmentInstructionsTest.java | 289 +
.../uml/cda/ihe/tests/MedicationTest.java | 800 +
.../MedicationsAdministeredSectionTest.java | 177 +
.../cda/ihe/tests/MedicationsSectionTest.java | 191 +
.../tests/MouthThroatTeethSectionTest.java | 223 +
.../MusculoskeletalSystemSectionTest.java | 223 +
.../uml/cda/ihe/tests/NeckSectionTest.java | 221 +
.../tests/NeurologicSystemSectionTest.java | 223 +
.../uml/cda/ihe/tests/NormalDoseTest.java | 182 +
.../uml/cda/ihe/tests/NoseSectionTest.java | 221 +
.../tests/ObservationRequestEntryTest.java | 142 +
.../uml/cda/ihe/tests/PHRExtractTest.java | 141 +
.../mdht/uml/cda/ihe/tests/PHRUpdateTest.java | 141 +
.../ihe/tests/PatientContactGuardianTest.java | 285 +
.../tests/PatientContactParticipantTest.java | 214 +
.../uml/cda/ihe/tests/PatientContactTest.java | 46 +
.../tests/PatientMedicalInstructionsTest.java | 323 +
.../uml/cda/ihe/tests/PayerEntryTest.java | 142 +
.../uml/cda/ihe/tests/PayersSectionTest.java | 193 +
.../PhysicalExamNarrativeSectionTest.java | 177 +
.../ihe/tests/PhysicalExamSectionTest.java | 1542 ++
.../tests/PregnancyHistorySectionTest.java | 227 +
.../ihe/tests/PregnancyObservationTest.java | 364 +
.../ihe/tests/ProblemConcernEntryTest.java | 199 +
...EntryReactionObservationContainerTest.java | 46 +
.../uml/cda/ihe/tests/ProblemEntryTest.java | 660 +
.../tests/ProblemStatusObservationTest.java | 298 +
...eEntryPlanOfCareActivityProcedureTest.java | 142 +
...reEntryProcedureActivityProcedureTest.java | 45 +
.../uml/cda/ihe/tests/ProcedureEntryTest.java | 517 +
...ProceduresAndInterventionsSectionTest.java | 184 +
.../uml/cda/ihe/tests/ProductEntryTest.java | 142 +
.../tests/ReasonForReferralSectionTest.java | 177 +
.../uml/cda/ihe/tests/RectumSectionTest.java | 222 +
.../tests/RespiratorySystemSectionTest.java | 223 +
.../ihe/tests/ReviewOfSystemsSectionTest.java | 177 +
.../cda/ihe/tests/ScanDataEntererTest.java | 276 +
.../cda/ihe/tests/ScanOriginalAuthorTest.java | 236 +
.../cda/ihe/tests/ScannedDocumentTest.java | 1342 ++
.../uml/cda/ihe/tests/ScanningDeviceTest.java | 414 +
.../mdht/uml/cda/ihe/tests/SeverityTest.java | 291 +
.../cda/ihe/tests/SimpleObservationTest.java | 221 +
.../tests/SocialHistoryObservationTest.java | 323 +
.../ihe/tests/SocialHistorySectionTest.java | 142 +
.../mdht/uml/cda/ihe/tests/SplitDoseTest.java | 179 +
.../uml/cda/ihe/tests/SupplyEntryTest.java | 819 +
.../cda/ihe/tests/SurgeriesSectionTest.java | 142 +
.../uml/cda/ihe/tests/TaperedDoseTest.java | 180 +
.../cda/ihe/tests/ThoraxLungsSectionTest.java | 223 +
.../uml/cda/ihe/tests/VesselsSectionTest.java | 223 +
...bleImplantedMedicalDevicesSectionTest.java | 223 +
.../ihe/tests/VitalSignObservationTest.java | 369 +
.../ihe/tests/VitalSignsOrganizerTest.java | 454 +
.../cda/ihe/tests/VitalSignsSectionTest.java | 142 +
.../test.xml | 124 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 22 +
.../build.properties | 12 +
.../plugin.properties | 8 +
.../tests/AssessmentAndPlanSectionTest.java | 192 +
.../tests/AssessmentSectionTest.java | 190 +
.../tests/ClinicalOfficeVisitSummaryTest.java | 1343 ++
.../tests/EncounterActivitiesTest.java | 181 +
.../tests/EncountersSectionTest.java | 188 +
.../tests/GeneralHeaderConstraintsTest.java | 877 ++
.../mu2consol/tests/Mu2consolAllTests.java | 22 +
.../cda/mu2consol/tests/Mu2consolExample.java | 112 +
.../cda/mu2consol/tests/Mu2consolTests.java | 38 +
.../tests/PlanOfCareSectionTest.java | 231 +
.../tests/ProcedureActivityProcedureTest.java | 219 +
.../tests/ProceduresSectionTest.java | 190 +
.../tests/ResultObservationTest.java | 220 +
.../mu2consol/tests/ResultOrganizerTest.java | 188 +
.../mu2consol/tests/ResultsSectionTest.java | 194 +
.../tests/SmokingStatusObservationTest.java | 217 +
.../tests/SocialHistorySectionTest.java | 190 +
.../tests/SummaryOfCareRecordTest.java | 1171 ++
...TransitionOfCareAmbulatorySummaryTest.java | 243 +
.../TransitionOfCareInpatientSummaryTest.java | 454 +
.../tests/VDTAmbulatorySummaryTest.java | 149 +
.../tests/VDTInpatientSummaryTest.java | 549 +
.../ViewDownloadTransmitSummaryTest.java | 846 +
.../tests/mu2consol_EcoreAllTests.java | 46 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 17 +
.../build.properties | 17 +
org.openhealthtools.mdht.uml.cda.test/end.tag | 1 +
.../junit-frames.xsl | 1001 ++
.../plugin.properties | 12 +
.../resources/SampleCDADocument.xml | 1098 ++
.../resources/emx2uml.xsl | 32 +
.../uml/cda/operations/ActOperationsTest.java | 777 +
.../cda/operations/AllCDAOperationsTests.java | 32 +
.../AssignedAuthorOperationsTest.java | 79 +
.../uml/cda/operations/CDAValidationTest.java | 998 ++
.../ClinicalDocumentOperationsTest.java | 261 +
.../ClinicalStatementOperationsTest.java | 94 +
.../operations/Component2OperationsTest.java | 75 +
.../operations/Component4OperationsTest.java | 75 +
.../operations/EncounterOperationsTest.java | 783 +
.../cda/operations/EntryOperationsTest.java | 76 +
.../EntryRelationshipOperationsTest.java | 76 +
.../operations/GuardianOperationsTest.java | 75 +
.../operations/Informant12OperationsTest.java | 75 +
.../ManufacturedProductOperationsTest.java | 66 +
.../ObservationMediaOperationsTest.java | 754 +
.../operations/ObservationOperationsTest.java | 785 +
.../operations/OrganizerOperationsTest.java | 777 +
.../ParticipantRoleOperationsTest.java | 79 +
.../operations/ProcedureOperationsTest.java | 783 +
.../operations/ReferenceOperationsTest.java | 88 +
.../RegionOfInterestOperationsTest.java | 788 +
.../cda/operations/SectionOperationsTest.java | 780 +
.../StrucDocTextOperationsTest.java | 72 +
...SubstanceAdministrationOperationsTest.java | 804 +
.../cda/operations/SupplyOperationsTest.java | 783 +
.../mdht/uml/cda/tests/ADTest.java | 278 +
.../mdht/uml/cda/tests/AllCDATests.java | 36 +
.../mdht/uml/cda/tests/BNTest.java | 107 +
.../mdht/uml/cda/tests/BigDecimalTest.java | 183 +
.../mdht/uml/cda/tests/BigIntegerTest.java | 90 +
.../uml/cda/tests/CDADeserliazationTest.java | 66 +
.../uml/cda/tests/CDASerializationTest.java | 166 +
.../uml/cda/tests/DiagnosticOutputHelper.java | 46 +
.../mdht/uml/cda/tests/EIVLEventTest.java | 314 +
.../mdht/uml/cda/tests/IVLINTTest.java | 319 +
.../mdht/uml/cda/tests/IVLPQTest.java | 319 +
.../mdht/uml/cda/tests/IVLTSTest.java | 320 +
.../uml/cda/tests/InfrastructureRootTest.java | 198 +
.../cda/tests/SystemOutValidationHandler.java | 28 +
.../start.tag | 1 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 28 +
.../build.properties | 16 +
.../plugin.properties | 12 +
.../toc/tests/ConsultationRequestTest.java | 1384 ++
.../toc/tests/ConsultationSummaryTest.java | 983 ++
.../toc/tests/DischargeInstructionsTest.java | 534 +
.../cda/toc/tests/DischargeSummaryTest.java | 1145 ++
.../mdht/uml/cda/toc/tests/ToCExample.java | 119 +
.../mdht/uml/cda/toc/tests/ToCTests.java | 41 +
.../uml/cda/toc/tests/toc_EcoreAllTests.java | 54 +
.../test.xml | 133 +
.../.classpath | 7 +
.../.project | 28 +
.../.settings/org.eclipse.jdt.core.prefs | 355 +
.../.settings/org.eclipse.jdt.ui.prefs | 120 +
.../META-INF/MANIFEST.MF | 9 +
.../build.properties | 17 +
.../resource/SampleCCDDocument.xml | 1606 ++
.../resource/TemplateToolingPilot1.xml | 473 +
.../resource/TemplateToolingPilot2.xml | 469 +
.../resource/TemplateToolingPilot3.xml | 157 +
.../resource/TemplateToolingPilot4.xml | 271 +
.../resource/TemplateToolingPilot5.xml | 271 +
.../resource/TemplateToolingPilot6.xml | 157 +
.../resource/TemplateToolingPilot7.xml | 259 +
.../uml/cda/util/test/TestCDAPackageLoad.java | 23 +
.../mdht/uml/cda/util/test/TestCDAUtil.java | 61 +
685 files changed, 266474 insertions(+)
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveReferenceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveVerificationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectivesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AgeObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AuthorizationActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDRegistryDelegateTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CauseOfDeathObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CommentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ContinuityOfCareDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CoverageActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CoveragePlanDescriptionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CoveredPartyTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/EncounterLocationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/EncountersActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/EncountersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/EpisodeObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FamilyHistoryCauseOfDeathObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FamilyHistoryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FamilyHistoryOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FamilyHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FulfillmentInstructionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FunctionalStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/FunctionalStatusSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ImmunizationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/MedicalEquipmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/MedicationActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/MedicationSeriesNumberObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/MedicationStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/MedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PatientAwarenessTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PatientInstructionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PayerEntityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PayersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivityActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivityEncounterTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivityObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivitySubstanceAdministrationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivitySupplyTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PlanOfCareSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PolicyActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PolicySubscriberTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProblemActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProblemHealthStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProblemObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProblemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProblemStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProcedureActivityActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProcedureActivityObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProcedureActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProcedureActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProceduresSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProductInstanceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ProductTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PurposeActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/PurposeSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ReactionObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ResultObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ResultOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ResultsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SeverityObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SocialHistoryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SocialHistoryStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/StatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SupplyActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SupportGuardianTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SupportParticipantTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/SupportTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/VitalSignsOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/VitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ccd.tests/test.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/AssessmentAndPlanSectionProcNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/AssessmentAndPlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/AssessmentSectionProcNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/AssessmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/CDTAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/CDTExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/CDTRegistryDelegateTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/CDTTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ChiefComplaintSectionProcNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ChiefComplaintSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ConsultationNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/DiagnosticFindingsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/GeneralHeaderConstraintsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/GeneralStatusSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/HistoryAndPhysicalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/HistoryOfPresentIllnessTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/HospitalDischargeStudiesSummarySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/LevelOneConformanceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/LevelThreeConformanceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/LevelTwoConformanceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ObjectiveSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/PastMedicalHistorySectionConsultTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/PastMedicalHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/PhysicalExaminationSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/PlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ProgressNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ReasonForReferralSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ReasonForVisitAndChiefComplaintSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ReasonForVisitSectionConsultTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ReasonForVisitSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ReviewOfSystemsSectionIHETest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/ReviewOfSystemsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/SubjectiveSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/UnstructuredDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.cdt.tests/src/org/openhealthtools/mdht/uml/cda/cdt/tests/VitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AdmissionMedicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AdvanceDirectiveObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AdvanceDirectivesSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AdvanceDirectivesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AgeObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AllergiesSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AllergiesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AllergyObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AllergyProblemActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AllergyStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AnesthesiaSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AssessmentAndPlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AssessmentScaleObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AssessmentScaleSupportingObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AssessmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/AuthorizationActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/BoundaryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CaregiverCharacteristicsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ChiefComplaintAndReasonForVisitSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ChiefComplaintSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CodeObservationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CognitiveStatusProblemObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CognitiveStatusResultObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CognitiveStatusResultOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CommentActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ComplicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ConsolAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ConsolExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ConsolTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ConsultationNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ContinuityOfCareDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/CoverageActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DICOMObjectCatalogSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DataEntererTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DeceasedObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DiagnosticImagingReportTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DischargeDietSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DischargeMedicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DischargeSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/DrugVehicleTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/EncounterActivitiesTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/EncounterDiagnosisTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/EncountersSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/EncountersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/EstimatedDateOfDeliveryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FamilyHistoryDeathObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FamilyHistoryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FamilyHistoryOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FamilyHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FetusSubjectContextTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FindingsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FunctionalStatusProblemObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FunctionalStatusResultObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FunctionalStatusResultOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/FunctionalStatusSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/GeneralHeaderConstraintsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/GeneralStatusSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HealthStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HealthcareProviderTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HighestPressureUlcerStageTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HistoryAndPhysicalNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HistoryOfPastIllnessSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HistoryOfPresentIllnessSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalAdmissionDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalAdmissionDiagnosisTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalAdmissionMedicationsSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalConsultationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalCourseSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargeDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargeDiagnosisTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargeInstructionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargeMedicationsSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargeMedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargePhysicalSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/HospitalDischargeStudiesSummarySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ImmunizationActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ImmunizationMedicationInformationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ImmunizationRefusalReasonTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ImmunizationsSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ImmunizationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/IndicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/InformantTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/InformationRecipientTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/InstructionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/InstructionsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/InterventionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicalEquipmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicalHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationDispenseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationInformationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationSupplyOrderTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationUseNoneKnownTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationsAdministeredSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationsSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/MedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/NonMedicinalSupplyActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/NumberOfPressureUlcersObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ObjectiveSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ObserverContextTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/OperativeNoteFluidSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/OperativeNoteSurgicalProcedureSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/OperativeNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PayersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PersonTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PhysicalExamSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PhysicianReadingStudyPerformerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PhysicianofRecordParticipantTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareActivityActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareActivityEncounterTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareActivityObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareActivitySubstanceAdministrationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareActivitySupplyTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlanOfCareSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PlannedProcedureSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PolicyActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PostoperativeDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PostprocedureDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PostprocedureDiagnosisTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PreconditionForSubstanceAdministrationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PregnancyObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PreoperativeDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PreoperativeDiagnosisTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PressureUlcerObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProblemConcernActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProblemObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProblemSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProblemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProblemStatusTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureActivityActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureActivityObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureContextTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureDescriptionSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureDispositionSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureEstimatedBloodLossSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureFindingsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureImplantsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureIndicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProcedureSpecimensTakenSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProceduresSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProceduresSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProductInstanceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ProgressNoteTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/PurposeofReferenceObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/QuantityMeasurementObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ReactionObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ReasonForReferralSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ReasonForVisitSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ReferencedFramesObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ResultObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ResultOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ResultsSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ResultsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ReviewOfSystemsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SOPInstanceObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SeriesActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/ServiceDeliveryLocationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SeverityObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SmokingStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SocialHistoryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/StudyActTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SubjectiveSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SupportGuardianTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SupportParticipantTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SupportTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/SurgicalDrainsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/TextObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/TobaccoUseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/UnstructuredDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/VitalSignObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/VitalSignsOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/VitalSignsSectionEntriesOptionalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consol.tests/src/org/openhealthtools/mdht/uml/cda/consol/tests/VitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/samples/DI_sample_l3_conformances.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/samples/DS.sample.l1.conformances.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/samples/DS.sample.l2.conformances.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/samples/DS.sample.l3.conformances-1.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/samples/DS.sample.l3.conformances.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/ConsoltocExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/ConsoltocTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/ConsultationRequestTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/ConsultationSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/DischargeInstructionsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/DischargeSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/Main.java
create mode 100644 org.openhealthtools.mdht.uml.cda.consoltoc.tests/src/org/openhealthtools/mdht/uml/cda/consoltoc/tests/consoltoc_EcoreAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/DerivedEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSAdvanceDirectivesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSAllergiesAndAdverseReactionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSBillingSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSCardiacArrestEventSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSCurrentMedicationSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSDispatchSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSDispositionSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSInjuryIncidentDescriptionSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSMedicationsAdministeredSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSPastMedicalHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSPatientCareNarrativeSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSPersonnelAdverseEventSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSPhysicalAssessmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSProceduresPerformedSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSProtocolSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSResponseSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSSceneSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSSituationSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSSocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSTimesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EMSVitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EmspcrExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/EmspcrTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/PatientCareReportTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.emspcr.tests/src/org/openhealthtools/mdht/uml/cda/emspcr/tests/emspcr_EcoreAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/AdmissionMedicationHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/AdvanceDirectiveTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/AdvanceDirectivesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/AllergiesReactionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/AllergyDrugSensitivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/AssessmentAndPlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ChiefComplaintSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/CommentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ConditionEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ConditionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/DiagnosticResultsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/DischargeDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/DischargeSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/EncounterTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/EncountersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/FamilyHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/FamilyHistoryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/FunctionalStatusSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HITSPAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HITSPExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HITSPRegistryDelegateTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HITSPTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HealthcareProviderTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HistoryOfPastIllnessSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HistoryOfPresentIllnessTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HospitalAdmissionDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HospitalCourseSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/HospitalDischargeMedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ImmunizationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ImmunizationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/InsuranceProviderTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/LanguageSpokenTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicalEquipmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationCombinationMedicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationConditionalDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationInformationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationNormalDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationOrderInformationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationSplitDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationTaperedDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationTypeTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationsAdministeredSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/MedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/PastProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/PatientSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/PayersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/PhysicalExamSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/PlanOfCareSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/PlannedProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ProblemListSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ReasonForReferralSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ReferralSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ResultOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ResultTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/ReviewOfSystemsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/SocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/SocialHistoryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/SupportGuardianTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/SupportParticipantTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/SupportTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/SurgeriesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/UnstructuredDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/UnstructuredOrScannedDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/VitalSignTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/src/org/openhealthtools/mdht/uml/cda/hitsp/tests/VitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.hitsp.tests/test.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AbdomenSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ActiveProblemsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AdmissionMedicationHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AdvanceDirectiveObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AdvanceDirectivesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AllergiesReactionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AllergyIntoleranceConcernTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AllergyIntoleranceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/AssessmentAndPlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/BreastSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CarePlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ChestWallSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ChiefComplaintSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedAdvanceDirectivesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedFamilyMedicalHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedReasonForReferralSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedResultsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedSocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedSurgeriesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CodedVitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CombinationMedicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CommentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ConcernEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ConditionalDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/CoverageEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/DischargeDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/DischargeDietTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/DischargeSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EarsNoseMouthThroatSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EarsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EncounterActivityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EncounterEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EncounterHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EncounterPlanOfCareTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EndocrineSystemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ExternalReferenceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ExtremitiesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/EyesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/FamilyHistoryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/FamilyHistoryOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/FamilyMedicalHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/FunctionalStatusSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/GeneralAppearanceSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/GenitaliaSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HeadSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HealthStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HealthcareProvidersPharmaciesTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HeartSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HistoryOfPastIllnessSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HistoryOfPresentIllnessTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HospitalAdmissionDiagnosisSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HospitalCourseSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HospitalDischargeMedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/HospitalDischargePhysicalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/IHEAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/IHEExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/IHERegistryDelegateTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/IHETests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ImmunizationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ImmunizationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/IntakeOutputSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/IntegumentarySystemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/InternalReferenceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/LanguageCommunicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/LymphaticSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicalDevicesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicalDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicalSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicationFullfillmentInstructionsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicationsAdministeredSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MedicationsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MouthThroatTeethSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/MusculoskeletalSystemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/NeckSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/NeurologicSystemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/NormalDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/NoseSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ObservationRequestEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PHRExtractTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PHRUpdateTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PatientContactGuardianTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PatientContactParticipantTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PatientContactTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PatientMedicalInstructionsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PayerEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PayersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PhysicalExamNarrativeSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PhysicalExamSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PregnancyHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/PregnancyObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProblemConcernEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProblemEntryReactionObservationContainerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProblemEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProblemStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProcedureEntryPlanOfCareActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProcedureEntryProcedureActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProcedureEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProceduresAndInterventionsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ProductEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ReasonForReferralSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/RectumSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/RespiratorySystemSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ReviewOfSystemsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ScanDataEntererTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ScanOriginalAuthorTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ScannedDocumentTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ScanningDeviceTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SeverityTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SimpleObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SocialHistoryObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SplitDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SupplyEntryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/SurgeriesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/TaperedDoseTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/ThoraxLungsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/VesselsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/VisibleImplantedMedicalDevicesSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/VitalSignObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/VitalSignsOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/src/org/openhealthtools/mdht/uml/cda/ihe/tests/VitalSignsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.ihe.tests/test.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/AssessmentAndPlanSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/AssessmentSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ClinicalOfficeVisitSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/EncounterActivitiesTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/EncountersSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/GeneralHeaderConstraintsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/Mu2consolAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/Mu2consolExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/Mu2consolTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/PlanOfCareSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ProcedureActivityProcedureTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ProceduresSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ResultObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ResultOrganizerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ResultsSectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/SmokingStatusObservationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/SocialHistorySectionTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/SummaryOfCareRecordTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/TransitionOfCareAmbulatorySummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/TransitionOfCareInpatientSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/VDTAmbulatorySummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/VDTInpatientSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/ViewDownloadTransmitSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.mu2consol.tests/src/org/openhealthtools/mdht/uml/cda/mu2consol/tests/mu2consol_EcoreAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.test/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.test/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.test/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.test/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.test/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.test/end.tag
create mode 100644 org.openhealthtools.mdht.uml.cda.test/junit-frames.xsl
create mode 100644 org.openhealthtools.mdht.uml.cda.test/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.test/resources/SampleCDADocument.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.test/resources/emx2uml.xsl
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ActOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/AllCDAOperationsTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/AssignedAuthorOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/CDAValidationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ClinicalDocumentOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ClinicalStatementOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/Component2OperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/Component4OperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/EncounterOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/EntryOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/EntryRelationshipOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/GuardianOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/Informant12OperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ManufacturedProductOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ObservationMediaOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ObservationOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/OrganizerOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ParticipantRoleOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ProcedureOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/ReferenceOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/RegionOfInterestOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/SectionOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/StrucDocTextOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/SubstanceAdministrationOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/operations/SupplyOperationsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/ADTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/AllCDATests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/BNTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/BigDecimalTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/BigIntegerTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/CDADeserliazationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/CDASerializationTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/DiagnosticOutputHelper.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/EIVLEventTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/IVLINTTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/IVLPQTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/IVLTSTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/InfrastructureRootTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/src/org/openhealthtools/mdht/uml/cda/tests/SystemOutValidationHandler.java
create mode 100644 org.openhealthtools.mdht.uml.cda.test/start.tag
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/plugin.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/ConsultationRequestTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/ConsultationSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/DischargeInstructionsTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/DischargeSummaryTest.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/ToCExample.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/ToCTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/src/org/openhealthtools/mdht/uml/cda/toc/tests/toc_EcoreAllTests.java
create mode 100644 org.openhealthtools.mdht.uml.cda.toc.tests/test.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/.classpath
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/.project
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/.settings/org.eclipse.jdt.core.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/.settings/org.eclipse.jdt.ui.prefs
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/META-INF/MANIFEST.MF
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/build.properties
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/SampleCCDDocument.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot1.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot2.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot3.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot4.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot5.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot6.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/resource/TemplateToolingPilot7.xml
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/src/org/openhealttools/mdht/uml/cda/util/test/TestCDAPackageLoad.java
create mode 100644 org.openhealthtools.mdht.uml.cda.util.test/src/org/openhealttools/mdht/uml/cda/util/test/TestCDAUtil.java
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/.classpath b/org.openhealthtools.mdht.uml.cda.ccd.tests/.classpath
new file mode 100644
index 000000000..121e527a9
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/.classpath
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/.project b/org.openhealthtools.mdht.uml.cda.ccd.tests/.project
new file mode 100644
index 000000000..cebddd178
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/.project
@@ -0,0 +1,28 @@
+
+
+ org.openhealthtools.mdht.uml.cda.ccd.tests
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.pde.ManifestBuilder
+
+
+
+
+ org.eclipse.pde.SchemaBuilder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.pde.PluginNature
+
+
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.core.prefs b/org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 000000000..fd79a3e6c
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,355 @@
+#Mon May 16 10:24:25 EDT 2011
+eclipse.preferences.version=1
+org.eclipse.jdt.core.codeComplete.argumentPrefixes=
+org.eclipse.jdt.core.codeComplete.argumentSuffixes=
+org.eclipse.jdt.core.codeComplete.fieldPrefixes=
+org.eclipse.jdt.core.codeComplete.fieldSuffixes=
+org.eclipse.jdt.core.codeComplete.localPrefixes=
+org.eclipse.jdt.core.codeComplete.localSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFieldSuffixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes=
+org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes=
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.annotationSuperInterface=warning
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.autoboxing=ignore
+org.eclipse.jdt.core.compiler.problem.comparingIdentical=warning
+org.eclipse.jdt.core.compiler.problem.deadCode=warning
+org.eclipse.jdt.core.compiler.problem.deprecation=warning
+org.eclipse.jdt.core.compiler.problem.deprecationInDeprecatedCode=disabled
+org.eclipse.jdt.core.compiler.problem.deprecationWhenOverridingDeprecatedMethod=disabled
+org.eclipse.jdt.core.compiler.problem.discouragedReference=ignore
+org.eclipse.jdt.core.compiler.problem.emptyStatement=ignore
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.fallthroughCase=ignore
+org.eclipse.jdt.core.compiler.problem.fatalOptionalError=enabled
+org.eclipse.jdt.core.compiler.problem.fieldHiding=ignore
+org.eclipse.jdt.core.compiler.problem.finalParameterBound=warning
+org.eclipse.jdt.core.compiler.problem.finallyBlockNotCompletingNormally=warning
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=error
+org.eclipse.jdt.core.compiler.problem.hiddenCatchBlock=warning
+org.eclipse.jdt.core.compiler.problem.incompatibleNonInheritedInterfaceMethod=warning
+org.eclipse.jdt.core.compiler.problem.incompleteEnumSwitch=ignore
+org.eclipse.jdt.core.compiler.problem.indirectStaticAccess=ignore
+org.eclipse.jdt.core.compiler.problem.localVariableHiding=ignore
+org.eclipse.jdt.core.compiler.problem.methodWithConstructorName=warning
+org.eclipse.jdt.core.compiler.problem.missingDeprecatedAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingHashCodeMethod=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotation=ignore
+org.eclipse.jdt.core.compiler.problem.missingOverrideAnnotationForInterfaceMethodImplementation=enabled
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=warning
+org.eclipse.jdt.core.compiler.problem.missingSynchronizedOnInheritedMethod=ignore
+org.eclipse.jdt.core.compiler.problem.noEffectAssignment=warning
+org.eclipse.jdt.core.compiler.problem.noImplicitStringConversion=warning
+org.eclipse.jdt.core.compiler.problem.nonExternalizedStringLiteral=ignore
+org.eclipse.jdt.core.compiler.problem.nullReference=warning
+org.eclipse.jdt.core.compiler.problem.overridingPackageDefaultMethod=warning
+org.eclipse.jdt.core.compiler.problem.parameterAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.possibleAccidentalBooleanAssignment=ignore
+org.eclipse.jdt.core.compiler.problem.potentialNullReference=ignore
+org.eclipse.jdt.core.compiler.problem.rawTypeReference=warning
+org.eclipse.jdt.core.compiler.problem.redundantNullCheck=ignore
+org.eclipse.jdt.core.compiler.problem.redundantSuperinterface=ignore
+org.eclipse.jdt.core.compiler.problem.specialParameterHidingField=disabled
+org.eclipse.jdt.core.compiler.problem.staticAccessReceiver=warning
+org.eclipse.jdt.core.compiler.problem.suppressOptionalErrors=disabled
+org.eclipse.jdt.core.compiler.problem.suppressWarnings=enabled
+org.eclipse.jdt.core.compiler.problem.syntheticAccessEmulation=ignore
+org.eclipse.jdt.core.compiler.problem.typeParameterHiding=warning
+org.eclipse.jdt.core.compiler.problem.uncheckedTypeOperation=warning
+org.eclipse.jdt.core.compiler.problem.undocumentedEmptyBlock=ignore
+org.eclipse.jdt.core.compiler.problem.unhandledWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.unnecessaryElse=ignore
+org.eclipse.jdt.core.compiler.problem.unnecessaryTypeCheck=warning
+org.eclipse.jdt.core.compiler.problem.unqualifiedFieldAccess=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownException=ignore
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionExemptExceptionAndThrowable=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedDeclaredThrownExceptionWhenOverriding=disabled
+org.eclipse.jdt.core.compiler.problem.unusedImport=warning
+org.eclipse.jdt.core.compiler.problem.unusedLabel=warning
+org.eclipse.jdt.core.compiler.problem.unusedLocal=warning
+org.eclipse.jdt.core.compiler.problem.unusedObjectAllocation=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameter=ignore
+org.eclipse.jdt.core.compiler.problem.unusedParameterIncludeDocCommentReference=enabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenImplementingAbstract=disabled
+org.eclipse.jdt.core.compiler.problem.unusedParameterWhenOverridingConcrete=disabled
+org.eclipse.jdt.core.compiler.problem.unusedPrivateMember=warning
+org.eclipse.jdt.core.compiler.problem.unusedWarningToken=warning
+org.eclipse.jdt.core.compiler.problem.varargsArgumentNeedCast=warning
+org.eclipse.jdt.core.compiler.source=1.5
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=36
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=36
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=36
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=36
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=49
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=32
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=0
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=1
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=false
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=150
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.disabling_tag=@fmtOff
+org.eclipse.jdt.core.formatter.enabling_tag=@fmtOn
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=false
+org.eclipse.jdt.core.formatter.join_wrapped_lines=true
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=120
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=tab
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_binary_operator=false
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.ui.prefs b/org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 000000000..6245d2099
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,120 @@
+#Tue Mar 29 22:38:51 EDT 2011
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_missing_override_annotations_interface_methods=false
+cleanup.add_serial_version_id=false
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=false
+cleanup.format_source_code=true
+cleanup.format_source_code_changes_only=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=false
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_trailing_whitespaces=true
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=true
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_blocks=true
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=false
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=false
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup_profile=_MDHT
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_MDHT
+formatter_settings_version=11
+org.eclipse.jdt.ui.exception.name=e
+org.eclipse.jdt.ui.gettersetter.use.is=true
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.javadoc=true
+org.eclipse.jdt.ui.keywordthis=false
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.overrideannotation=true
+org.eclipse.jdt.ui.staticondemandthreshold=99
+org.eclipse.jdt.ui.text.custom_code_templates=/**\n * @return the ${bare_field_name}\n */ /**\n * @param ${param} the ${bare_field_name} to set\n */ /**\n * ${tags}\n */ /*******************************************************************************\n * Copyright (c) ${year} ${user}.\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n * \n * Contributors\:\n * ${user} - initial API and implementation\n * \n *******************************************************************************/ /**\n * @author ${user}\n *\n * ${tags}\n */ /**\n * \n */ /**\n * ${tags}\n */ /* (non-Javadoc)\n * ${see_to_overridden}\n */ /**\n * ${tags}\n * ${see_to_target}\n */ ${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration} \n \n \n \n // ${todo} Auto-generated catch block\n${exception_var}.printStackTrace(); // ${todo} Auto-generated method stub\n${body_statement} ${body_statement}\n// ${todo} Auto-generated constructor stub return ${field}; ${field} \= ${param};
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=false
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.make_local_variable_final=false
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=false
+sp_cleanup.remove_unused_imports=false
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/META-INF/MANIFEST.MF b/org.openhealthtools.mdht.uml.cda.ccd.tests/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..8644818a8
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,21 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.openhealthtools.mdht.uml.cda.ccd.tests;singleton:=true
+Bundle-Version: 1.1.0.qualifier
+Bundle-ClassPath: .
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Export-Package: org.openhealthtools.mdht.uml.cda.ccd.tests
+Require-Bundle: org.eclipse.core.runtime,
+ org.openhealthtools.mdht.uml.cda.ccd;visibility:=reexport,
+ org.openhealthtools.mdht.uml.cda;visibility:=reexport,
+ org.openhealthtools.mdht.uml.hl7.datatypes;visibility:=reexport,
+ org.openhealthtools.mdht.uml.hl7.vocab;visibility:=reexport,
+ org.eclipse.emf.ecore;visibility:=reexport,
+ org.openhealthtools.mdht.uml.hl7.rim;visibility:=reexport,
+ org.eclipse.emf.ecore.xmi;visibility:=reexport,
+ org.junit;visibility:=reexport,
+ org.openhealthtools.mdht.uml.cda.test
+Bundle-ActivationPolicy: lazy
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/build.properties b/org.openhealthtools.mdht.uml.cda.ccd.tests/build.properties
new file mode 100644
index 000000000..e8b61f336
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/build.properties
@@ -0,0 +1,17 @@
+###############################################################################
+# Copyright (c) 2011, 2012 Sean Muir and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Sean Muir (JKM Software) - initial API and implementation
+###############################################################################
+
+bin.includes = .,\
+ META-INF/,\
+ plugin.properties
+jars.compile.order = .
+source.. = src/
+output.. = bin/
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/plugin.properties b/org.openhealthtools.mdht.uml.cda.ccd.tests/plugin.properties
new file mode 100644
index 000000000..a7a55de51
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/plugin.properties
@@ -0,0 +1,14 @@
+###############################################################################
+# Copyright (c) 2011, 2012 Sean Muir and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Sean Muir (JKM Software) - initial API and implementation
+###############################################################################
+
+pluginName = CCD Tests
+providerName = www.example.org
+
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveObservationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveObservationTest.java
new file mode 100644
index 000000000..5377fec7b
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveObservationTest.java
@@ -0,0 +1,559 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AdvanceDirectiveObservationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.CD;
+import org.openhealthtools.mdht.uml.hl7.datatypes.CS;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.datatypes.II;
+import org.openhealthtools.mdht.uml.hl7.datatypes.IVL_TS;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Advance Directive Observation ' model objects.
+ *
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationAdvDirectiveCodeValueSet(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Adv Directive Code Value Set }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationAdvDirectiveCodeCodeSystem(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Adv Directive Code Code System }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Class Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Mood Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationStatusCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Status Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationEffectiveTime(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Effective Time }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationAdvanceDirectiveVerification(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Advance Directive Verification }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationAdvanceDirectiveStatusObservation(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Advance Directive Status Observation }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#validateAdvanceDirectiveObservationAdvanceDirectiveReference(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Observation Advance Directive Reference }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveObservation#getAdvanceDirectiveStatusObservation() Get Advance Directive Status Observation }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AdvanceDirectiveObservationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationAdvDirectiveCodeValueSet() {
+ OperationsTestCase validateAdvanceDirectiveObservationAdvDirectiveCodeValueSetTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationAdvDirectiveCodeValueSet",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ADV_DIRECTIVE_CODE_VALUE_SET__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+ CD cd = DatatypesFactory.eINSTANCE.createCD();
+ cd.setCodeSystem("2.16.840.1.113883.6.96");
+ target.setCode(cd);
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationAdvDirectiveCodeValueSet(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationAdvDirectiveCodeValueSetTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationAdvDirectiveCodeCodeSystem() {
+ OperationsTestCase validateAdvanceDirectiveObservationAdvDirectiveCodeCodeSystemTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationAdvDirectiveCodeCodeSystem",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ADV_DIRECTIVE_CODE_CODE_SYSTEM__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+ CD cd = DatatypesFactory.eINSTANCE.createCD();
+ cd.setCodeSystem("2.16.840.1.113883.6.96");
+ cd.setCode("304251008");
+ target.setCode(cd);
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationAdvDirectiveCodeCodeSystem(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationAdvDirectiveCodeCodeSystemTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationTemplateId() {
+ OperationsTestCase validateAdvanceDirectiveObservationTemplateIdTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationTemplateId(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationClassCode() {
+ OperationsTestCase validateAdvanceDirectiveObservationClassCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationClassCode(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationMoodCode() {
+ OperationsTestCase validateAdvanceDirectiveObservationMoodCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationMoodCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationMoodCode(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationMoodCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationId() {
+ OperationsTestCase validateAdvanceDirectiveObservationIdTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationId",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ II ii = DatatypesFactory.eINSTANCE.createII();
+ target.getIds().add(ii);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationId(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationStatusCode() {
+ OperationsTestCase validateAdvanceDirectiveObservationStatusCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationStatusCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ CS cs = DatatypesFactory.eINSTANCE.createCS("completed");
+ target.setStatusCode(cs);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationStatusCode(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationStatusCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationEffectiveTime() {
+ OperationsTestCase validateAdvanceDirectiveObservationEffectiveTimeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationEffectiveTime",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ IVL_TS ts = DatatypesFactory.eINSTANCE.createIVL_TS();
+ target.setEffectiveTime(ts);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationEffectiveTime(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationEffectiveTimeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationCode() {
+ OperationsTestCase validateAdvanceDirectiveObservationCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+
+ CD cd = DatatypesFactory.eINSTANCE.createCD();
+ target.setCode(cd);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationCode(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated not
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationAdvanceDirectiveVerification() {
+ OperationsTestCase validateAdvanceDirectiveObservationAdvanceDirectiveVerificationTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationAdvanceDirectiveVerification",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ADVANCE_DIRECTIVE_VERIFICATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+ target.init();
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.getParticipants().add(CCDFactory.eINSTANCE.createAdvanceDirectiveVerification().init());
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationAdvanceDirectiveVerification(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationAdvanceDirectiveVerificationTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationAdvanceDirectiveStatusObservation() {
+ OperationsTestCase validateAdvanceDirectiveObservationAdvanceDirectiveStatusObservationTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationAdvanceDirectiveStatusObservation",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ADVANCE_DIRECTIVE_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.init();
+ target.addObservation(CCDFactory.eINSTANCE.createAdvanceDirectiveStatusObservation());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationAdvanceDirectiveStatusObservation(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationAdvanceDirectiveStatusObservationTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated not
+ */
+ @Test
+ public void testValidateAdvanceDirectiveObservationAdvanceDirectiveReference() {
+ OperationsTestCase validateAdvanceDirectiveObservationAdvanceDirectiveReferenceTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveObservationAdvanceDirectiveReference",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_OBSERVATION_ADVANCE_DIRECTIVE_REFERENCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveObservation target) {
+ target.init();
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveObservation target) {
+ target.getReferences().add(CCDFactory.eINSTANCE.createAdvanceDirectiveReference().init());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveObservationOperations.validateAdvanceDirectiveObservationAdvanceDirectiveReference(
+ (AdvanceDirectiveObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveObservationAdvanceDirectiveReferenceTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testGetAdvanceDirectiveStatusObservation() {
+
+ AdvanceDirectiveObservation target = objectFactory.create();
+ target.getAdvanceDirectiveStatusObservation();
+
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AdvanceDirectiveObservationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AdvanceDirectiveObservation create() {
+ return CCDFactory.eINSTANCE.createAdvanceDirectiveObservation();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AdvanceDirectiveObservationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AdvanceDirectiveObservationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveReferenceTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveReferenceTest.java
new file mode 100644
index 000000000..f6657290d
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveReferenceTest.java
@@ -0,0 +1,343 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.CDAFactory;
+import org.openhealthtools.mdht.uml.cda.ExternalDocument;
+import org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AdvanceDirectiveReferenceOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.datatypes.ED;
+import org.openhealthtools.mdht.uml.hl7.datatypes.TEL;
+
+/**
+ *
+ * A static utility class that provides operations related to 'Advance Directive Reference ' model objects.
+ *
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference#validateAdvanceDirectiveReferenceHasURL(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Reference Has URL }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference#validateAdvanceDirectiveReferenceHasMIMEType(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Reference Has MIME Type }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference#validateAdvanceDirectiveReferenceExternalDocumentHasId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Reference External Document Has Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference#validateAdvanceDirectiveReferenceTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Reference Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference#validateAdvanceDirectiveReferenceTypeCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Reference Type Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveReference#validateAdvanceDirectiveReferenceExternalDocument(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Reference External Document }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AdvanceDirectiveReferenceTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveReferenceHasURL() {
+ OperationsTestCase validateAdvanceDirectiveReferenceHasURLTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveReferenceHasURL",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_REFERENCE_HAS_URL__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveReference target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveReference target) {
+
+ target.init();
+ ExternalDocument externalDocument = CDAFactory.eINSTANCE.createExternalDocument();
+
+ ED ed = DatatypesFactory.eINSTANCE.createED("sometext");
+
+ ed.setMediaType("mediatype");
+
+ TEL tel = DatatypesFactory.eINSTANCE.createTEL("value");
+ ed.setReference(tel);
+
+ externalDocument.setText(ed);
+ target.setExternalDocument(externalDocument);
+ target.getExternalDocument().getIds().add(DatatypesFactory.eINSTANCE.createII());
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveReferenceOperations.validateAdvanceDirectiveReferenceHasURL(
+ (AdvanceDirectiveReference) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveReferenceHasURLTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveReferenceHasMIMEType() {
+ OperationsTestCase validateAdvanceDirectiveReferenceHasMIMETypeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveReferenceHasMIMEType",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_REFERENCE_HAS_MIME_TYPE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveReference target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveReference target) {
+ target.init();
+ ExternalDocument externalDocument = CDAFactory.eINSTANCE.createExternalDocument();
+
+ ED ed = DatatypesFactory.eINSTANCE.createED("sometext");
+
+ ed.setMediaType("mediatype");
+
+ externalDocument.setText(ed);
+ target.setExternalDocument(externalDocument);
+ target.getExternalDocument().getIds().add(DatatypesFactory.eINSTANCE.createII());
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveReferenceOperations.validateAdvanceDirectiveReferenceHasMIMEType(
+ (AdvanceDirectiveReference) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveReferenceHasMIMETypeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveReferenceExternalDocumentHasId() {
+ OperationsTestCase validateAdvanceDirectiveReferenceExternalDocumentHasIdTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveReferenceExternalDocumentHasId",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_REFERENCE_EXTERNAL_DOCUMENT_HAS_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveReference target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveReference target) {
+ target.init();
+ target.setExternalDocument(CDAFactory.eINSTANCE.createExternalDocument());
+ target.getExternalDocument().getIds().add(DatatypesFactory.eINSTANCE.createII());
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveReferenceOperations.validateAdvanceDirectiveReferenceExternalDocumentHasId(
+ (AdvanceDirectiveReference) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveReferenceExternalDocumentHasIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveReferenceTemplateId() {
+ OperationsTestCase validateAdvanceDirectiveReferenceTemplateIdTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveReferenceTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_REFERENCE_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveReference target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveReference target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveReferenceOperations.validateAdvanceDirectiveReferenceTemplateId(
+ (AdvanceDirectiveReference) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveReferenceTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveReferenceTypeCode() {
+ OperationsTestCase validateAdvanceDirectiveReferenceTypeCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveReferenceTypeCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_REFERENCE_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveReference target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveReference target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveReferenceOperations.validateAdvanceDirectiveReferenceTypeCode(
+ (AdvanceDirectiveReference) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveReferenceTypeCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated not
+ */
+ @Test
+ public void testValidateAdvanceDirectiveReferenceExternalDocument() {
+ OperationsTestCase validateAdvanceDirectiveReferenceExternalDocumentTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveReferenceExternalDocument",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_REFERENCE_EXTERNAL_DOCUMENT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveReference target) {
+ target.init();
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveReference target) {
+ target.setExternalDocument(CDAFactory.eINSTANCE.createExternalDocument());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveReferenceOperations.validateAdvanceDirectiveReferenceExternalDocument(
+ (AdvanceDirectiveReference) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveReferenceExternalDocumentTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AdvanceDirectiveReferenceOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AdvanceDirectiveReference create() {
+ return CCDFactory.eINSTANCE.createAdvanceDirectiveReference();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AdvanceDirectiveReferenceOperations {
+ };
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AdvanceDirectiveReferenceOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveStatusObservationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveStatusObservationTest.java
new file mode 100644
index 000000000..7f7e7b564
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveStatusObservationTest.java
@@ -0,0 +1,140 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveStatusObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AdvanceDirectiveStatusObservationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Advance Directive Status Observation ' model
+ * objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveStatusObservation#validateStatusObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Status Observation Template Id }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AdvanceDirectiveStatusObservationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateStatusObservationTemplateId() {
+ OperationsTestCase validateStatusObservationTemplateIdTestCase = new OperationsTestCase(
+ "validateStatusObservationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveStatusObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveStatusObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveStatusObservationOperations.validateStatusObservationTemplateId(
+ (AdvanceDirectiveStatusObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateStatusObservationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AdvanceDirectiveStatusObservationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AdvanceDirectiveStatusObservation create() {
+ return CCDFactory.eINSTANCE.createAdvanceDirectiveStatusObservation();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AdvanceDirectiveStatusObservationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AdvanceDirectiveStatusObservationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveVerificationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveVerificationTest.java
new file mode 100644
index 000000000..8829ee173
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectiveVerificationTest.java
@@ -0,0 +1,211 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveVerification;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AdvanceDirectiveVerificationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Advance Directive Verification ' model objects.
+ *
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveVerification#validateAdvanceDirectiveVerificationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Verification Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveVerification#validateAdvanceDirectiveVerificationTypeCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Verification Type Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectiveVerification#validateAdvanceDirectiveVerificationTime(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directive Verification Time }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AdvanceDirectiveVerificationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveVerificationTemplateId() {
+ OperationsTestCase validateAdvanceDirectiveVerificationTemplateIdTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveVerificationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_VERIFICATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveVerification target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveVerification target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveVerificationOperations.validateAdvanceDirectiveVerificationTemplateId(
+ (AdvanceDirectiveVerification) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveVerificationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectiveVerificationTypeCode() {
+ OperationsTestCase validateAdvanceDirectiveVerificationTypeCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveVerificationTypeCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_VERIFICATION_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveVerification target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveVerification target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveVerificationOperations.validateAdvanceDirectiveVerificationTypeCode(
+ (AdvanceDirectiveVerification) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveVerificationTypeCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectiveVerificationTime() {
+ OperationsTestCase validateAdvanceDirectiveVerificationTimeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectiveVerificationTime",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVE_VERIFICATION_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectiveVerification target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectiveVerification target) {
+ target.init();
+ target.setTime(DatatypesFactory.eINSTANCE.createIVL_TS());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectiveVerificationOperations.validateAdvanceDirectiveVerificationTime(
+ (AdvanceDirectiveVerification) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectiveVerificationTimeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AdvanceDirectiveVerificationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AdvanceDirectiveVerification create() {
+ return CCDFactory.eINSTANCE.createAdvanceDirectiveVerification();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AdvanceDirectiveVerificationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AdvanceDirectiveVerificationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectivesSectionTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectivesSectionTest.java
new file mode 100644
index 000000000..02f8c53d5
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AdvanceDirectivesSectionTest.java
@@ -0,0 +1,303 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.CDAFactory;
+import org.openhealthtools.mdht.uml.cda.StrucDocText;
+import org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AdvanceDirectivesSectionOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.datatypes.ST;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Advance Directives Section ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection#validateAdvanceDirectivesSectionTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directives Section Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection#validateAdvanceDirectivesSectionCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directives Section Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection#validateAdvanceDirectivesSectionTitle(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directives Section Title }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection#validateAdvanceDirectivesSectionText(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directives Section Text }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection#validateAdvanceDirectivesSectionAdvanceDirectiveObservation(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Advance Directives Section Advance Directive Observation }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection#getAdvanceDirectiveObservations() Get Advance Directive Observations }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AdvanceDirectivesSectionTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectivesSectionTemplateId() {
+ OperationsTestCase validateAdvanceDirectivesSectionTemplateIdTestCase = new OperationsTestCase(
+ "validateAdvanceDirectivesSectionTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVES_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectivesSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectivesSection target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectivesSectionOperations.validateAdvanceDirectivesSectionTemplateId(
+ (AdvanceDirectivesSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectivesSectionTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectivesSectionCode() {
+ OperationsTestCase validateAdvanceDirectivesSectionCodeTestCase = new OperationsTestCase(
+ "validateAdvanceDirectivesSectionCode",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVES_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectivesSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectivesSection target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectivesSectionOperations.validateAdvanceDirectivesSectionCode(
+ (AdvanceDirectivesSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectivesSectionCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectivesSectionTitle() {
+ OperationsTestCase validateAdvanceDirectivesSectionTitleTestCase = new OperationsTestCase(
+ "validateAdvanceDirectivesSectionTitle",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVES_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectivesSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectivesSection target) {
+ target.init();
+
+ ST title = DatatypesFactory.eINSTANCE.createST("title");
+ target.setTitle(title);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectivesSectionOperations.validateAdvanceDirectivesSectionTitle(
+ (AdvanceDirectivesSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectivesSectionTitleTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAdvanceDirectivesSectionText() {
+ OperationsTestCase validateAdvanceDirectivesSectionTextTestCase = new OperationsTestCase(
+ "validateAdvanceDirectivesSectionText",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVES_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectivesSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectivesSection target) {
+ target.init();
+
+ StrucDocText text = CDAFactory.eINSTANCE.createStrucDocText();
+ target.setText(text);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectivesSectionOperations.validateAdvanceDirectivesSectionText(
+ (AdvanceDirectivesSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectivesSectionTextTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAdvanceDirectivesSectionAdvanceDirectiveObservation() {
+ OperationsTestCase validateAdvanceDirectivesSectionAdvanceDirectiveObservationTestCase = new OperationsTestCase(
+ "validateAdvanceDirectivesSectionAdvanceDirectiveObservation",
+ operationsForOCL.getOCLValue("VALIDATE_ADVANCE_DIRECTIVES_SECTION_ADVANCE_DIRECTIVE_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AdvanceDirectivesSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AdvanceDirectivesSection target) {
+ target.init();
+ target.addObservation(CCDFactory.eINSTANCE.createAdvanceDirectiveObservation());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AdvanceDirectivesSectionOperations.validateAdvanceDirectivesSectionAdvanceDirectiveObservation(
+ (AdvanceDirectivesSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAdvanceDirectivesSectionAdvanceDirectiveObservationTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testGetAdvanceDirectiveObservations() {
+
+ AdvanceDirectivesSection target = objectFactory.create();
+ target.getAdvanceDirectiveObservations();
+
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AdvanceDirectivesSectionOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AdvanceDirectivesSection create() {
+ return CCDFactory.eINSTANCE.createAdvanceDirectivesSection();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AdvanceDirectivesSectionOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AdvanceDirectivesSectionOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AgeObservationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AgeObservationTest.java
new file mode 100644
index 000000000..9b45d2e9a
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AgeObservationTest.java
@@ -0,0 +1,344 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.AgeObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AgeObservationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.CD;
+import org.openhealthtools.mdht.uml.hl7.datatypes.CS;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Age Observation ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationRelatedSubjectBirthTime(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Related Subject Birth Time }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Template Id }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Class Code }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Mood Code }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Code }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationStatusCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Status Code }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AgeObservation#validateAgeObservationValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Age Observation Value }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AgeObservationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAgeObservationTemplateId() {
+ OperationsTestCase validateAgeObservationTemplateIdTestCase = new OperationsTestCase(
+ "validateAgeObservationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_AGE_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AgeObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AgeObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AgeObservationOperations.validateAgeObservationTemplateId(
+ (AgeObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAgeObservationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAgeObservationClassCode() {
+ OperationsTestCase validateAgeObservationClassCodeTestCase = new OperationsTestCase(
+ "validateAgeObservationClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_AGE_OBSERVATION_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AgeObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AgeObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AgeObservationOperations.validateAgeObservationClassCode(
+ (AgeObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAgeObservationClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAgeObservationMoodCode() {
+ OperationsTestCase validateAgeObservationMoodCodeTestCase = new OperationsTestCase(
+ "validateAgeObservationMoodCode",
+ operationsForOCL.getOCLValue("VALIDATE_AGE_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AgeObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AgeObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AgeObservationOperations.validateAgeObservationMoodCode(
+ (AgeObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAgeObservationMoodCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAgeObservationCode() {
+ OperationsTestCase validateAgeObservationCodeTestCase = new OperationsTestCase(
+ "validateAgeObservationCode",
+ operationsForOCL.getOCLValue("VALIDATE_AGE_OBSERVATION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AgeObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AgeObservation target) {
+ target.init();
+
+ CD cd = DatatypesFactory.eINSTANCE.createCD();
+ cd.setCode("397659008");
+ cd.setCodeSystem("2.16.840.1.113883.6.96");
+ target.setCode(cd);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AgeObservationOperations.validateAgeObservationCode(
+ (AgeObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAgeObservationCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAgeObservationStatusCode() {
+ OperationsTestCase validateAgeObservationStatusCodeTestCase = new OperationsTestCase(
+ "validateAgeObservationStatusCode",
+ operationsForOCL.getOCLValue("VALIDATE_AGE_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AgeObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AgeObservation target) {
+ target.init();
+
+ CS cs = DatatypesFactory.eINSTANCE.createCS("completed");
+ target.setStatusCode(cs);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AgeObservationOperations.validateAgeObservationStatusCode(
+ (AgeObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAgeObservationStatusCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAgeObservationValue() {
+ OperationsTestCase validateAgeObservationValueTestCase = new OperationsTestCase(
+ "validateAgeObservationValue",
+ operationsForOCL.getOCLValue("VALIDATE_AGE_OBSERVATION_VALUE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AgeObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AgeObservation target) {
+ target.init();
+
+ CD value = DatatypesFactory.eINSTANCE.createCD();
+ target.getValues().add(value);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AgeObservationOperations.validateAgeObservationValue(
+ (AgeObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAgeObservationValueTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AgeObservationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AgeObservation create() {
+ return CCDFactory.eINSTANCE.createAgeObservation();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AgeObservationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AgeObservationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertObservationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertObservationTest.java
new file mode 100644
index 000000000..b259eb74b
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertObservationTest.java
@@ -0,0 +1,704 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.CDAFactory;
+import org.openhealthtools.mdht.uml.cda.EntryRelationship;
+import org.openhealthtools.mdht.uml.cda.Informant12;
+import org.openhealthtools.mdht.uml.cda.Participant2;
+import org.openhealthtools.mdht.uml.cda.ParticipantRole;
+import org.openhealthtools.mdht.uml.cda.PlayingEntity;
+import org.openhealthtools.mdht.uml.cda.ccd.AlertObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.AlertStatusObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.ReactionObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AlertObservationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.CE;
+import org.openhealthtools.mdht.uml.hl7.datatypes.CS;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.datatypes.IVL_TS;
+import org.openhealthtools.mdht.uml.hl7.vocab.EntityClassRoot;
+import org.openhealthtools.mdht.uml.hl7.vocab.ParticipationType;
+import org.openhealthtools.mdht.uml.hl7.vocab.RoleClassRoot;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_ActRelationshipEntryRelationship;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Alert Observation ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationInformationSource(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Information Source }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationAgentRepresentation(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Agent Representation }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationPlayingEntityRequired(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Playing Entity Required }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationAgentRepresentationVocab(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Agent Representation Vocab }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationParticipantRoleClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Participant Role Class Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationPlayingEntityClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Playing Entity Class Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationPlayingEntityCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Playing Entity Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationPlayingEntityCodeVocab(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Playing Entity Code Vocab }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Mood Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationStatusCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Status Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationEffectiveTime(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Effective Time }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationAlertStatusObservation(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Alert Status Observation }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#validateAlertObservationReactionObservation(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Alert Observation Reaction Observation }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#getAlertStatusObservation() Get Alert Status Observation }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertObservation#getReactionObservations() Get Reaction Observations }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AlertObservationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationInformationSource() {
+ OperationsTestCase validateAlertObservationInformationSourceTestCase = new OperationsTestCase(
+ "validateAlertObservationInformationSource",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_INFORMATION_SOURCE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+
+ Informant12 inf = CDAFactory.eINSTANCE.createInformant12();
+ target.getInformants().add(inf);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationInformationSource(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationInformationSourceTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationAgentRepresentation() {
+ OperationsTestCase validateAlertObservationAgentRepresentationTestCase = new OperationsTestCase(
+ "validateAlertObservationAgentRepresentation",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_AGENT_REPRESENTATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+
+ target.init();
+ Participant2 e = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipationType value = ParticipationType.CSM;
+ e.setTypeCode(value);
+ target.getParticipants().add(e);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationAgentRepresentation(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationAgentRepresentationTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationPlayingEntityRequired() {
+ OperationsTestCase validateAlertObservationPlayingEntityRequiredTestCase = new OperationsTestCase(
+ "validateAlertObservationPlayingEntityRequired",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_PLAYING_ENTITY_REQUIRED__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ Participant2 p2 = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipantRole value = CDAFactory.eINSTANCE.createParticipantRole();
+ PlayingEntity pe = CDAFactory.eINSTANCE.createPlayingEntity();
+ value.setPlayingEntity(pe);
+ p2.setParticipantRole(value);
+ target.getParticipants().add(p2);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationPlayingEntityRequired(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationPlayingEntityRequiredTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationAgentRepresentationVocab() {
+ OperationsTestCase validateAlertObservationAgentRepresentationVocabTestCase = new OperationsTestCase(
+ "validateAlertObservationAgentRepresentationVocab",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_AGENT_REPRESENTATION_VOCAB__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ Participant2 e = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipationType value = ParticipationType.CSM;
+ e.setTypeCode(value);
+ target.getParticipants().add(e);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationAgentRepresentationVocab(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationAgentRepresentationVocabTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationParticipantRoleClassCode() {
+ OperationsTestCase validateAlertObservationParticipantRoleClassCodeTestCase = new OperationsTestCase(
+ "validateAlertObservationParticipantRoleClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_PARTICIPANT_ROLE_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ Participant2 p2 = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipantRole pr = CDAFactory.eINSTANCE.createParticipantRole();
+ pr.setClassCode(RoleClassRoot.MANU);
+ p2.setParticipantRole(pr);
+ target.getParticipants().add(p2);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationParticipantRoleClassCode(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationParticipantRoleClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationPlayingEntityClassCode() {
+ OperationsTestCase validateAlertObservationPlayingEntityClassCodeTestCase = new OperationsTestCase(
+ "validateAlertObservationPlayingEntityClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_PLAYING_ENTITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ Participant2 p2 = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipantRole pr = CDAFactory.eINSTANCE.createParticipantRole();
+ PlayingEntity pe = CDAFactory.eINSTANCE.createPlayingEntity();
+ pe.setClassCode(EntityClassRoot.MMAT);
+ CE code = DatatypesFactory.eINSTANCE.createCE();
+ code.setCode("test");
+ pe.setCode(code);
+ p2.setParticipantRole(pr);
+ pr.setPlayingEntity(pe);
+ target.getParticipants().add(p2);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationPlayingEntityClassCode(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationPlayingEntityClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationPlayingEntityCode() {
+ OperationsTestCase validateAlertObservationPlayingEntityCodeTestCase = new OperationsTestCase(
+ "validateAlertObservationPlayingEntityCode",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_PLAYING_ENTITY_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ Participant2 p2 = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipantRole pr = CDAFactory.eINSTANCE.createParticipantRole();
+ PlayingEntity pe = CDAFactory.eINSTANCE.createPlayingEntity();
+ CE code = DatatypesFactory.eINSTANCE.createCE();
+ code.setCode("test");
+ pe.setCode(code);
+ p2.setParticipantRole(pr);
+ pr.setPlayingEntity(pe);
+ target.getParticipants().add(p2);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationPlayingEntityCode(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationPlayingEntityCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationPlayingEntityCodeVocab() {
+ OperationsTestCase validateAlertObservationPlayingEntityCodeVocabTestCase = new OperationsTestCase(
+ "validateAlertObservationPlayingEntityCodeVocab",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_PLAYING_ENTITY_CODE_VOCAB__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ Participant2 p2 = CDAFactory.eINSTANCE.createParticipant2();
+ ParticipantRole pr = CDAFactory.eINSTANCE.createParticipantRole();
+ PlayingEntity pe = CDAFactory.eINSTANCE.createPlayingEntity();
+ CE code = DatatypesFactory.eINSTANCE.createCE();
+ code.setCode("test");
+ code.setCodeSystem("2.16.840.1.113883.6.88");
+ pe.setCode(code);
+ p2.setParticipantRole(pr);
+ pr.setPlayingEntity(pe);
+ target.getParticipants().add(p2);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationPlayingEntityCodeVocab(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationPlayingEntityCodeVocabTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertObservationTemplateId() {
+ OperationsTestCase validateAlertObservationTemplateIdTestCase = new OperationsTestCase(
+ "validateAlertObservationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationTemplateId(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertObservationMoodCode() {
+ OperationsTestCase validateAlertObservationMoodCodeTestCase = new OperationsTestCase(
+ "validateAlertObservationMoodCode",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationMoodCode(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationMoodCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertObservationStatusCode() {
+ OperationsTestCase validateAlertObservationStatusCodeTestCase = new OperationsTestCase(
+ "validateAlertObservationStatusCode",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_STATUS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+
+ CS cs = DatatypesFactory.eINSTANCE.createCS("completed");
+ target.setStatusCode(cs);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationStatusCode(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationStatusCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertObservationEffectiveTime() {
+ OperationsTestCase validateAlertObservationEffectiveTimeTestCase = new OperationsTestCase(
+ "validateAlertObservationEffectiveTime",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+
+ IVL_TS ts = DatatypesFactory.eINSTANCE.createIVL_TS();
+ target.setEffectiveTime(ts);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationEffectiveTime(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationEffectiveTimeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationAlertStatusObservation() {
+ OperationsTestCase validateAlertObservationAlertStatusObservationTestCase = new OperationsTestCase(
+ "validateAlertObservationAlertStatusObservation",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_ALERT_STATUS_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ EntryRelationship er = CDAFactory.eINSTANCE.createEntryRelationship();
+ AlertStatusObservation so = CCDFactory.eINSTANCE.createAlertStatusObservation();
+ er.setObservation(so);
+ target.getEntryRelationships().add(er);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationAlertStatusObservation(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationAlertStatusObservationTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertObservationReactionObservation() {
+ OperationsTestCase validateAlertObservationReactionObservationTestCase = new OperationsTestCase(
+ "validateAlertObservationReactionObservation",
+ operationsForOCL.getOCLValue("VALIDATE_ALERT_OBSERVATION_REACTION_OBSERVATION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertObservation target) {
+ target.init();
+ EntryRelationship er = CDAFactory.eINSTANCE.createEntryRelationship();
+ ReactionObservation ro = CCDFactory.eINSTANCE.createReactionObservation();
+ er.setTypeCode(x_ActRelationshipEntryRelationship.MFST);
+ er.setObservation(ro);
+ target.getEntryRelationships().add(er);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertObservationOperations.validateAlertObservationReactionObservation(
+ (AlertObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertObservationReactionObservationTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testGetAlertStatusObservation() {
+
+ AlertObservation target = objectFactory.create();
+ target.getAlertStatusObservation();
+
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testGetReactionObservations() {
+
+ AlertObservation target = objectFactory.create();
+ target.getReactionObservations();
+
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AlertObservationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AlertObservation create() {
+ return CCDFactory.eINSTANCE.createAlertObservation();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AlertObservationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AlertObservationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertStatusObservationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertStatusObservationTest.java
new file mode 100644
index 000000000..bbd0e34a0
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertStatusObservationTest.java
@@ -0,0 +1,140 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.AlertStatusObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AlertStatusObservationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Alert Status Observation ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertStatusObservation#validateStatusObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Status Observation Template Id }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AlertStatusObservationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateStatusObservationTemplateId() {
+ OperationsTestCase validateStatusObservationTemplateIdTestCase = new OperationsTestCase(
+ "validateStatusObservationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_STATUS_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertStatusObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertStatusObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertStatusObservationOperations.validateStatusObservationTemplateId(
+ (AlertStatusObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateStatusObservationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AlertStatusObservationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AlertStatusObservation create() {
+ return CCDFactory.eINSTANCE.createAlertStatusObservation();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AlertStatusObservationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AlertStatusObservationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertsSectionTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertsSectionTest.java
new file mode 100644
index 000000000..7411d6485
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AlertsSectionTest.java
@@ -0,0 +1,316 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.CDAFactory;
+import org.openhealthtools.mdht.uml.cda.StrucDocText;
+import org.openhealthtools.mdht.uml.cda.ccd.AlertsSection;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AlertsSectionOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.datatypes.ST;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Alerts Section ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#validateAlertsSectionTitleValue(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Alerts Section Title Value }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#validateAlertsSectionTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Alerts Section Template Id }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#validateAlertsSectionCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Alerts Section Code }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#validateAlertsSectionTitle(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Alerts Section Title }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#validateAlertsSectionText(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Alerts Section Text }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#validateAlertsSectionProblemAct(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
+ * Validate Alerts Section Problem Act }
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AlertsSection#getProblemActs()
+ * Get Problem Acts }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AlertsSectionTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertsSectionTemplateId() {
+ OperationsTestCase validateAlertsSectionTemplateIdTestCase = new OperationsTestCase(
+ "validateAlertsSectionTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_ALERTS_SECTION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertsSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertsSection target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertsSectionOperations.validateAlertsSectionTemplateId(
+ (AlertsSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertsSectionTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertsSectionCode() {
+ OperationsTestCase validateAlertsSectionCodeTestCase = new OperationsTestCase(
+ "validateAlertsSectionCode",
+ operationsForOCL.getOCLValue("VALIDATE_ALERTS_SECTION_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertsSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertsSection target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertsSectionOperations.validateAlertsSectionCode(
+ (AlertsSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertsSectionCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertsSectionTitle() {
+ OperationsTestCase validateAlertsSectionTitleTestCase = new OperationsTestCase(
+ "validateAlertsSectionTitle",
+ operationsForOCL.getOCLValue("VALIDATE_ALERTS_SECTION_TITLE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertsSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertsSection target) {
+ target.init();
+
+ ST title = DatatypesFactory.eINSTANCE.createST("title");
+ target.setTitle(title);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertsSectionOperations.validateAlertsSectionTitle(
+ (AlertsSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertsSectionTitleTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAlertsSectionText() {
+ OperationsTestCase validateAlertsSectionTextTestCase = new OperationsTestCase(
+ "validateAlertsSectionText",
+ operationsForOCL.getOCLValue("VALIDATE_ALERTS_SECTION_TEXT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertsSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertsSection target) {
+ target.init();
+
+ StrucDocText text = CDAFactory.eINSTANCE.createStrucDocText();
+ target.setText(text);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertsSectionOperations.validateAlertsSectionText(
+ (AlertsSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertsSectionTextTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAlertsSectionProblemAct() {
+ OperationsTestCase validateAlertsSectionProblemActTestCase = new OperationsTestCase(
+ "validateAlertsSectionProblemAct",
+ operationsForOCL.getOCLValue("VALIDATE_ALERTS_SECTION_PROBLEM_ACT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AlertsSection target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AlertsSection target) {
+ target.init();
+ target.addAct(CCDFactory.eINSTANCE.createProblemAct());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AlertsSectionOperations.validateAlertsSectionProblemAct(
+ (AlertsSection) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAlertsSectionProblemActTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testGetProblemActs() {
+
+ AlertsSection target = objectFactory.create();
+ target.getProblemActs();
+
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AlertsSectionOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AlertsSection create() {
+ return CCDFactory.eINSTANCE.createAlertsSection();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AlertsSectionOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AlertsSectionOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AuthorizationActivityTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AuthorizationActivityTest.java
new file mode 100644
index 000000000..2683f1f85
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/AuthorizationActivityTest.java
@@ -0,0 +1,627 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.Act;
+import org.openhealthtools.mdht.uml.cda.CDAFactory;
+import org.openhealthtools.mdht.uml.cda.Encounter;
+import org.openhealthtools.mdht.uml.cda.EntryRelationship;
+import org.openhealthtools.mdht.uml.cda.Observation;
+import org.openhealthtools.mdht.uml.cda.ObservationMedia;
+import org.openhealthtools.mdht.uml.cda.Organizer;
+import org.openhealthtools.mdht.uml.cda.Procedure;
+import org.openhealthtools.mdht.uml.cda.RegionOfInterest;
+import org.openhealthtools.mdht.uml.cda.SubstanceAdministration;
+import org.openhealthtools.mdht.uml.cda.Supply;
+import org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.AuthorizationActivityOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.vocab.ActMood;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_ActMoodDocumentObservation;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_ActRelationshipEntryRelationship;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_DocumentActMood;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_DocumentEncounterMood;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_DocumentProcedureMood;
+import org.openhealthtools.mdht.uml.hl7.vocab.x_DocumentSubstanceMood;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Authorization Activity ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityEntryRelationshipTypeCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Entry Relationship Type Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityEntryRelationshipTarget(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Entry Relationship Target }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityHasPerformers(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Has Performers }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Class Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Mood Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.AuthorizationActivity#validateAuthorizationActivityEntryRelationship(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Authorization Activity Entry Relationship }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class AuthorizationActivityTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAuthorizationActivityEntryRelationshipTypeCode() {
+ OperationsTestCase validateAuthorizationActivityEntryRelationshipTypeCodeTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityEntryRelationshipTypeCode",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_TYPE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+ target.init();
+ EntryRelationship er = CDAFactory.eINSTANCE.createEntryRelationship();
+ er.setTypeCode(x_ActRelationshipEntryRelationship.SUBJ);
+ target.getEntryRelationships().add(er);
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityEntryRelationshipTypeCode(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityEntryRelationshipTypeCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAuthorizationActivityEntryRelationshipTarget() {
+ OperationsTestCase validateAuthorizationActivityEntryRelationshipTargetTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityEntryRelationshipTarget",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ // @Override
+ // protected void updateToFail(AuthorizationActivity target) {
+ // target.init();
+ // Act act = CDAFactory.eINSTANCE.createAct();
+ // act.setMoodCode(x_DocumentActMood.PRMS);
+ // target.addAct(act);
+ // }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest.OperationsTestCase#addFailTests()
+ */
+ @Override
+ public void addFailTests() {
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ Act act = CDAFactory.eINSTANCE.createAct();
+
+ target.addAct(act);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ Encounter clinicalStatement = CDAFactory.eINSTANCE.createEncounter();
+
+ target.addEncounter(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ Observation clinicalStatement = CDAFactory.eINSTANCE.createObservation();
+
+ target.addObservation(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ ObservationMedia clinicalStatement = CDAFactory.eINSTANCE.createObservationMedia();
+
+ target.addObservationMedia(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ Organizer clinicalStatement = CDAFactory.eINSTANCE.createOrganizer();
+
+ target.addOrganizer(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ Procedure clinicalStatement = CDAFactory.eINSTANCE.createProcedure();
+
+ target.addProcedure(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ RegionOfInterest clinicalStatement = CDAFactory.eINSTANCE.createRegionOfInterest();
+
+ target.addRegionOfInterest(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ SubstanceAdministration clinicalStatement = CDAFactory.eINSTANCE.createSubstanceAdministration();
+
+ target.addSubstanceAdministration(clinicalStatement);
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(AuthorizationActivity target) {
+ target.init();
+ Supply clinicalStatement = CDAFactory.eINSTANCE.createSupply();
+
+ target.addSupply(clinicalStatement);
+ }
+ });
+
+ }
+
+ @Override
+ public void addPassTests() {
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ Act act = CDAFactory.eINSTANCE.createAct();
+ act.setMoodCode(x_DocumentActMood.PRMS);
+ target.addAct(act);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ Encounter clinicalStatement = CDAFactory.eINSTANCE.createEncounter();
+ clinicalStatement.setMoodCode(x_DocumentEncounterMood.PRMS);
+ target.addEncounter(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ Observation clinicalStatement = CDAFactory.eINSTANCE.createObservation();
+ clinicalStatement.setMoodCode(x_ActMoodDocumentObservation.PRMS);
+ target.addObservation(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ ObservationMedia clinicalStatement = CDAFactory.eINSTANCE.createObservationMedia();
+ clinicalStatement.setMoodCode(ActMood.PRMS);
+ target.addObservationMedia(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ Organizer clinicalStatement = CDAFactory.eINSTANCE.createOrganizer();
+ clinicalStatement.setMoodCode(ActMood.PRMS);
+ target.addOrganizer(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ Procedure clinicalStatement = CDAFactory.eINSTANCE.createProcedure();
+ clinicalStatement.setMoodCode(x_DocumentProcedureMood.PRMS);
+ target.addProcedure(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ RegionOfInterest clinicalStatement = CDAFactory.eINSTANCE.createRegionOfInterest();
+ clinicalStatement.setMoodCode(ActMood.PRMS);
+ target.addRegionOfInterest(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ SubstanceAdministration clinicalStatement = CDAFactory.eINSTANCE.createSubstanceAdministration();
+ clinicalStatement.setMoodCode(x_DocumentSubstanceMood.PRMS);
+ target.addSubstanceAdministration(clinicalStatement);
+ }
+ });
+
+ addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(AuthorizationActivity target) {
+ target.init();
+ Supply clinicalStatement = CDAFactory.eINSTANCE.createSupply();
+ clinicalStatement.setMoodCode(x_DocumentSubstanceMood.PRMS);
+ target.addSupply(clinicalStatement);
+ }
+ });
+
+ }
+
+ // @Override
+ // protected void updateToPass(AuthorizationActivity target) {
+ //
+ // for (Act act : target.getActs()) {
+ // // act.setMoodCode(x_DocumentActMood.PRMS);
+ // }
+ //
+ // }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityEntryRelationshipTarget(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityEntryRelationshipTargetTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAuthorizationActivityHasPerformers() {
+ OperationsTestCase validateAuthorizationActivityHasPerformersTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityHasPerformers",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_HAS_PERFORMERS__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+ target.init();
+ target.addAct(CDAFactory.eINSTANCE.createAct());
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+
+ for (Act act : target.getActs()) {
+ act.getPerformers().add(CDAFactory.eINSTANCE.createPerformer2());
+ }
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityHasPerformers(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityHasPerformersTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAuthorizationActivityTemplateId() {
+ OperationsTestCase validateAuthorizationActivityTemplateIdTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityTemplateId(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAuthorizationActivityClassCode() {
+ OperationsTestCase validateAuthorizationActivityClassCodeTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityClassCode(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateAuthorizationActivityMoodCode() {
+ OperationsTestCase validateAuthorizationActivityMoodCodeTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityMoodCode",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityMoodCode(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityMoodCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateAuthorizationActivityId() {
+ OperationsTestCase validateAuthorizationActivityIdTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityId",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+ target.init();
+ target.getIds().add(DatatypesFactory.eINSTANCE.createII());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityId(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated not
+ */
+ @Test
+ public void testValidateAuthorizationActivityEntryRelationship() {
+ OperationsTestCase validateAuthorizationActivityEntryRelationshipTestCase = new OperationsTestCase(
+ "validateAuthorizationActivityEntryRelationship",
+ operationsForOCL.getOCLValue("VALIDATE_AUTHORIZATION_ACTIVITY_ENTRY_RELATIONSHIP__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(AuthorizationActivity target) {
+ target.init();
+ }
+
+ @Override
+ protected void updateToPass(AuthorizationActivity target) {
+ target.getEntryRelationships().add(CDAFactory.eINSTANCE.createEntryRelationship());
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return AuthorizationActivityOperations.validateAuthorizationActivityEntryRelationship(
+ (AuthorizationActivity) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateAuthorizationActivityEntryRelationshipTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends AuthorizationActivityOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public AuthorizationActivity create() {
+ return CCDFactory.eINSTANCE.createAuthorizationActivity();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends AuthorizationActivityOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // AuthorizationActivityOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDAllTests.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDAllTests.java
new file mode 100644
index 000000000..f6543c71a
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDAllTests.java
@@ -0,0 +1,54 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+/**
+ *
+ * A test suite for the 'CCD ' model.
+ *
+ * @generated
+ */
+public class CCDAllTests extends TestSuite {
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public static void main(String[] args) {
+ TestRunner.run(suite());
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public static Test suite() {
+ TestSuite suite = new CCDAllTests("CCD Tests");
+ suite.addTest(CCDTests.suite());
+ return suite;
+ }
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public CCDAllTests(String name) {
+ super(name);
+ }
+
+} // CCDAllTests
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDExample.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDExample.java
new file mode 100644
index 000000000..f74b1539c
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDExample.java
@@ -0,0 +1,116 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.io.File;
+import java.io.IOException;
+
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
+import org.eclipse.emf.ecore.util.Diagnostician;
+import org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDPackage;
+import org.openhealthtools.mdht.uml.cda.ccd.MedicationsSection;
+
+/**
+ * A sample utility for the 'ccd '
+ * package.
+ * @generated
+ */
+public class CCDExample {
+ /**
+ * Load all the argument file paths or URIs as
+ * instances of the model.
+ * @param args the file paths or URIs.
+ * @generated
+ */
+ public static void main(String[] args) {
+ // Create a resource set to hold the resources.
+ //
+ ResourceSet resourceSet = new ResourceSetImpl();
+
+ // Register the appropriate resource factory to handle all file extensions.
+ //
+ resourceSet.getResourceFactoryRegistry().getExtensionToFactoryMap().put(
+ Resource.Factory.Registry.DEFAULT_EXTENSION, new XMIResourceFactoryImpl());
+
+ // Register the package to ensure it is available during loading.
+ //
+ resourceSet.getPackageRegistry().put(CCDPackage.eNS_URI, CCDPackage.eINSTANCE);
+
+ // If there are no arguments, emit an appropriate usage message.
+ //
+ if (args.length == 0) {
+ System.out.println("Enter a list of file paths or URIs that have content like this:");
+ try {
+ Resource resource = resourceSet.createResource(URI.createURI("http:///My.ccd"));
+ MedicationsSection root = CCDFactory.eINSTANCE.createMedicationsSection();
+ resource.getContents().add(root);
+ resource.save(System.out, null);
+ } catch (IOException exception) {
+ exception.printStackTrace();
+ }
+ } else {
+ // Iterate over all the arguments.
+ //
+ for (int i = 0; i < args.length; ++i) {
+ // Construct the URI for the instance file.
+ // The argument is treated as a file path only if it denotes an existing file.
+ // Otherwise, it's directly treated as a URL.
+ //
+ File file = new File(args[i]);
+ URI uri = file.isFile()
+ ? URI.createFileURI(file.getAbsolutePath())
+ : URI.createURI(args[i]);
+
+ try {
+ // Demand load resource for this file.
+ //
+ Resource resource = resourceSet.getResource(uri, true);
+ System.out.println("Loaded " + uri);
+
+ // Validate the contents of the loaded resource.
+ //
+ for (EObject eObject : resource.getContents()) {
+ Diagnostic diagnostic = Diagnostician.INSTANCE.validate(eObject);
+ if (diagnostic.getSeverity() != Diagnostic.OK) {
+ printDiagnostic(diagnostic, "");
+ }
+ }
+ } catch (RuntimeException exception) {
+ System.out.println("Problem loading " + uri);
+ exception.printStackTrace();
+ }
+ }
+ }
+ }
+
+ /**
+ * Prints diagnostics with indentation.
+ * @param diagnostic the diagnostic to print.
+ * @param indent the indentation for printing.
+ * @generated
+ */
+ protected static void printDiagnostic(Diagnostic diagnostic, String indent) {
+ System.out.print(indent);
+ System.out.println(diagnostic.getMessage());
+ for (Diagnostic child : diagnostic.getChildren()) {
+ printDiagnostic(child, indent + " ");
+ }
+ }
+
+} // CCDExample
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDRegistryDelegateTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDRegistryDelegateTest.java
new file mode 100644
index 000000000..6d6ca6a7d
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDRegistryDelegateTest.java
@@ -0,0 +1,112 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDRegistryDelegate;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.CCDRegistryDelegateOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Registry Delegate ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.RegistryDelegate#getEClass(java.lang.String, java.lang.Object) Get EClass }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class CCDRegistryDelegateTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testGetEClass() {
+
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends CCDRegistryDelegateOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public CCDRegistryDelegate create() {
+ return CCDFactory.eINSTANCE.createCCDRegistryDelegate();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends CCDRegistryDelegateOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // CCDRegistryDelegateOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDTests.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDTests.java
new file mode 100644
index 000000000..0ea3b55e8
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CCDTests.java
@@ -0,0 +1,64 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import junit.framework.JUnit4TestAdapter;
+
+import org.junit.runner.RunWith;
+import org.junit.runners.Suite;
+
+/**
+ *
+ * A test suite for the 'ccd ' package.
+ *
+ *
+
+ * @generated
+ */
+@RunWith(Suite.class)
+@Suite.SuiteClasses({
+ MedicationsSectionTest.class, MedicationActivityTest.class, MedicationSeriesNumberObservationTest.class,
+ MedicationStatusObservationTest.class, StatusObservationTest.class, PatientInstructionTest.class,
+ ReactionObservationTest.class, SeverityObservationTest.class, ProductInstanceTest.class,
+ SupplyActivityTest.class, FulfillmentInstructionTest.class, ContinuityOfCareDocumentTest.class,
+ ProblemSectionTest.class, ProblemActTest.class, EpisodeObservationTest.class, FamilyHistorySectionTest.class,
+ FamilyHistoryOrganizerTest.class, FamilyHistoryObservationTest.class,
+ FamilyHistoryCauseOfDeathObservationTest.class, AgeObservationTest.class, ProblemStatusObservationTest.class,
+ CauseOfDeathObservationTest.class, SocialHistorySectionTest.class, SocialHistoryObservationTest.class,
+ SocialHistoryStatusObservationTest.class, AlertsSectionTest.class, ResultsSectionTest.class,
+ ResultOrganizerTest.class, ResultObservationTest.class, ProceduresSectionTest.class,
+ EncountersSectionTest.class, EncountersActivityTest.class, PlanOfCareSectionTest.class,
+ PlanOfCareActivityActTest.class, PlanOfCareActivityEncounterTest.class,
+ PlanOfCareActivityObservationTest.class, PlanOfCareActivityProcedureTest.class,
+ PlanOfCareActivitySubstanceAdministrationTest.class, PlanOfCareActivitySupplyTest.class,
+ ImmunizationsSectionTest.class, VitalSignsSectionTest.class, VitalSignsOrganizerTest.class,
+ MedicalEquipmentSectionTest.class, FunctionalStatusSectionTest.class, AdvanceDirectivesSectionTest.class,
+ AdvanceDirectiveObservationTest.class, AdvanceDirectiveStatusObservationTest.class,
+ AdvanceDirectiveReferenceTest.class, PayersSectionTest.class, CoverageActivityTest.class,
+ PolicyActivityTest.class, PurposeSectionTest.class, PurposeActivityTest.class, ProblemObservationTest.class,
+ ProblemHealthStatusObservationTest.class, PatientAwarenessTest.class, AlertObservationTest.class,
+ AlertStatusObservationTest.class, EncounterLocationTest.class, ProductTest.class,
+ AdvanceDirectiveVerificationTest.class, AuthorizationActivityTest.class, FunctionalStatusObservationTest.class,
+ ProcedureActivityActTest.class, ProcedureActivityObservationTest.class, ProcedureActivityProcedureTest.class,
+ PayerEntityTest.class, CoveredPartyTest.class, PolicySubscriberTest.class, CoveragePlanDescriptionTest.class,
+ SupportParticipantTest.class, SupportGuardianTest.class, CommentTest.class, CCDRegistryDelegateTest.class })
+public class CCDTests {
+
+ /**
+ *
+ *
+ * @generated
+ */
+ public static junit.framework.Test suite() {
+ return new JUnit4TestAdapter(CCDTests.class);
+ }
+
+} // CCDTests
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CauseOfDeathObservationTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CauseOfDeathObservationTest.java
new file mode 100644
index 000000000..8b1059d0b
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CauseOfDeathObservationTest.java
@@ -0,0 +1,140 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.CauseOfDeathObservation;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.CauseOfDeathObservationOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Cause Of Death Observation ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.CauseOfDeathObservation#validateFamilyHistoryObservationTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Family History Observation Template Id }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class CauseOfDeathObservationTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateFamilyHistoryObservationTemplateId() {
+ OperationsTestCase validateFamilyHistoryObservationTemplateIdTestCase = new OperationsTestCase(
+ "validateFamilyHistoryObservationTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_FAMILY_HISTORY_OBSERVATION_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(CauseOfDeathObservation target) {
+
+ }
+
+ @Override
+ protected void updateToPass(CauseOfDeathObservation target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return CauseOfDeathObservationOperations.validateFamilyHistoryObservationTemplateId(
+ (CauseOfDeathObservation) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateFamilyHistoryObservationTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends CauseOfDeathObservationOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public CauseOfDeathObservation create() {
+ return CCDFactory.eINSTANCE.createCauseOfDeathObservation();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends CauseOfDeathObservationOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // CauseOfDeathObservationOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CommentTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CommentTest.java
new file mode 100644
index 000000000..5c44d1f4d
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/CommentTest.java
@@ -0,0 +1,236 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.Comment;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.CommentOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Comment ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.Comment#validateCommentTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Comment Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.Comment#validateCommentClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Comment Class Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.Comment#validateCommentMoodCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Comment Mood Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.Comment#validateCommentCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Comment Code }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class CommentTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateCommentTemplateId() {
+ OperationsTestCase validateCommentTemplateIdTestCase = new OperationsTestCase(
+ "validateCommentTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_COMMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) {
+
+ @Override
+ protected void updateToFail(Comment target) {
+
+ }
+
+ @Override
+ protected void updateToPass(Comment target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return CommentOperations.validateCommentTemplateId((Comment) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateCommentTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateCommentClassCode() {
+ OperationsTestCase validateCommentClassCodeTestCase = new OperationsTestCase(
+ "validateCommentClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_COMMENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) {
+
+ @Override
+ protected void updateToFail(Comment target) {
+
+ }
+
+ @Override
+ protected void updateToPass(Comment target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return CommentOperations.validateCommentClassCode((Comment) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateCommentClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateCommentMoodCode() {
+ OperationsTestCase validateCommentMoodCodeTestCase = new OperationsTestCase(
+ "validateCommentMoodCode",
+ operationsForOCL.getOCLValue("VALIDATE_COMMENT_MOOD_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) {
+
+ @Override
+ protected void updateToFail(Comment target) {
+
+ }
+
+ @Override
+ protected void updateToPass(Comment target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return CommentOperations.validateCommentMoodCode((Comment) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateCommentMoodCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateCommentCode() {
+ OperationsTestCase validateCommentCodeTestCase = new OperationsTestCase(
+ "validateCommentCode",
+ operationsForOCL.getOCLValue("VALIDATE_COMMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"), objectFactory) {
+
+ @Override
+ protected void updateToFail(Comment target) {
+
+ }
+
+ @Override
+ protected void updateToPass(Comment target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return CommentOperations.validateCommentCode((Comment) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateCommentCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class OperationsForOCL extends CommentOperations {
+ public String getOCLValue(String fieldName) {
+
+ String oclValue = null;
+
+ try {
+ oclValue = (String) this.getClass().getSuperclass().getDeclaredField(fieldName).get(this);
+ } catch (Exception e) {
+ oclValue = "NO OCL FOUND FOR PROPERTY " + fieldName;
+ }
+ return oclValue;
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static class ObjectFactory implements TestObjectFactory {
+ public Comment create() {
+ return CCDFactory.eINSTANCE.createComment();
+ }
+ }
+
+ /**
+ *
+ * @generated
+ */
+ private static OperationsForOCL operationsForOCL = new OperationsForOCL();
+
+ /**
+ *
+ * @generated
+ */
+ private static ObjectFactory objectFactory = new ObjectFactory();
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ private static class ConstructorTestClass extends CommentOperations {
+ }
+
+ /**
+ * Tests Operations Constructor for 100% coverage
+ * @generated
+ */
+ @Test
+ public void testConstructor() {
+ @SuppressWarnings("unused")
+ ConstructorTestClass constructorTestClass = new ConstructorTestClass();
+ } // testConstructor
+
+ /**
+ *
+ * @generated
+ */
+ @Override
+ protected EObject getObjectToTest() {
+ return null;
+ }
+
+} // CommentOperations
diff --git a/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ContinuityOfCareDocumentTest.java b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ContinuityOfCareDocumentTest.java
new file mode 100644
index 000000000..ee2e22b89
--- /dev/null
+++ b/org.openhealthtools.mdht.uml.cda.ccd.tests/src/org/openhealthtools/mdht/uml/cda/ccd/tests/ContinuityOfCareDocumentTest.java
@@ -0,0 +1,1646 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2012 Sean Muir and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sean Muir (JKM Software) - initial API and implementation
+ *******************************************************************************/
+package org.openhealthtools.mdht.uml.cda.ccd.tests;
+
+import java.util.Map;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.ecore.EObject;
+import org.junit.Test;
+import org.openhealthtools.mdht.uml.cda.AssignedAuthor;
+import org.openhealthtools.mdht.uml.cda.Author;
+import org.openhealthtools.mdht.uml.cda.CDAFactory;
+import org.openhealthtools.mdht.uml.cda.DocumentationOf;
+import org.openhealthtools.mdht.uml.cda.Organization;
+import org.openhealthtools.mdht.uml.cda.ServiceEvent;
+import org.openhealthtools.mdht.uml.cda.ccd.AdvanceDirectivesSection;
+import org.openhealthtools.mdht.uml.cda.ccd.AlertsSection;
+import org.openhealthtools.mdht.uml.cda.ccd.CCDFactory;
+import org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument;
+import org.openhealthtools.mdht.uml.cda.ccd.EncountersSection;
+import org.openhealthtools.mdht.uml.cda.ccd.FamilyHistorySection;
+import org.openhealthtools.mdht.uml.cda.ccd.FunctionalStatusSection;
+import org.openhealthtools.mdht.uml.cda.ccd.ImmunizationsSection;
+import org.openhealthtools.mdht.uml.cda.ccd.MedicalEquipmentSection;
+import org.openhealthtools.mdht.uml.cda.ccd.MedicationsSection;
+import org.openhealthtools.mdht.uml.cda.ccd.PayersSection;
+import org.openhealthtools.mdht.uml.cda.ccd.PlanOfCareSection;
+import org.openhealthtools.mdht.uml.cda.ccd.ProblemSection;
+import org.openhealthtools.mdht.uml.cda.ccd.ProceduresSection;
+import org.openhealthtools.mdht.uml.cda.ccd.PurposeSection;
+import org.openhealthtools.mdht.uml.cda.ccd.ResultsSection;
+import org.openhealthtools.mdht.uml.cda.ccd.SocialHistorySection;
+import org.openhealthtools.mdht.uml.cda.ccd.VitalSignsSection;
+import org.openhealthtools.mdht.uml.cda.ccd.operations.ContinuityOfCareDocumentOperations;
+import org.openhealthtools.mdht.uml.cda.operations.CDAValidationTest;
+import org.openhealthtools.mdht.uml.hl7.datatypes.DatatypesFactory;
+import org.openhealthtools.mdht.uml.hl7.datatypes.II;
+import org.openhealthtools.mdht.uml.hl7.datatypes.IVL_TS;
+import org.openhealthtools.mdht.uml.hl7.datatypes.TS;
+import org.openhealthtools.mdht.uml.hl7.vocab.ActClassRoot;
+import org.openhealthtools.mdht.uml.hl7.vocab.NullFlavor;
+
+/**
+ * A static utility class that provides operations
+ * related to 'Continuity Of Care Document ' model objects.
+ *
+ *
+ * The following operations are supported:
+ *
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentServiceEventRequired(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Service Event Required }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentServiceEventClassCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Service Event Class Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentServiceEventEffectiveTime(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Service Event Effective Time }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentLanguageCodeFormat(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Language Code Format }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentNoTemplateIdExtension(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document No Template Id Extension }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentHasEffectiveTimeSeconds(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Has Effective Time Seconds }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentHasEffectiveTimeZone(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Has Effective Time Zone }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentOneOrTwoRecordTarget(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document One Or Two Record Target }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentHasAssignedAuthor(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Has Assigned Author }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentHasAssignedAuthorNullFlavor(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Has Assigned Author Null Flavor }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentHasInformationRecipient(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Has Information Recipient }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentTemplateId(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Template Id }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentLanguageCode(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Language Code }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentProblemSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Problem Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentFamilyHistorySection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Family History Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentSocialHistorySection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Social History Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentAlertsSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Alerts Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentMedicationsSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Medications Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentResultsSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Results Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentProceduresSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Procedures Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentEncountersSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Encounters Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentPlanOfCareSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Plan Of Care Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentImmunizationsSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Immunizations Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentVitalSignsSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Vital Signs Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentMedicalEquipmentSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Medical Equipment Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentFunctionalStatusSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Functional Status Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentAdvanceDirectivesSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Advance Directives Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentPayersSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Payers Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#validateContinuityOfCareDocumentPurposeSection(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) Validate Continuity Of Care Document Purpose Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getProblemSection() Get Problem Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getFamilyHistorySection() Get Family History Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getSocialHistorySection() Get Social History Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getAlertsSection() Get Alerts Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getMedicationsSection() Get Medications Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getResultsSection() Get Results Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getProceduresSection() Get Procedures Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getEncountersSection() Get Encounters Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getPlanOfCareSection() Get Plan Of Care Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getImmunizationsSection() Get Immunizations Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getVitalSignsSection() Get Vital Signs Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getMedicalEquipmentSection() Get Medical Equipment Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getFunctionalStatusSection() Get Functional Status Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getAdvanceDirectivesSection() Get Advance Directives Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getPayersSection() Get Payers Section }
+ * {@link org.openhealthtools.mdht.uml.cda.ccd.ContinuityOfCareDocument#getPurposeSection() Get Purpose Section }
+ *
+ *
+ *
+ * @generated
+ */
+
+public class ContinuityOfCareDocumentTest extends CDAValidationTest {
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentServiceEventRequired() {
+ OperationsTestCase validateContinuityOfCareDocumentServiceEventRequiredTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentServiceEventRequired",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_SERVICE_EVENT_REQUIRED__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+
+ DocumentationOf dof = CDAFactory.eINSTANCE.createDocumentationOf();
+ dof.setServiceEvent(CDAFactory.eINSTANCE.createServiceEvent());
+ target.getDocumentationOfs().add(dof);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentServiceEventRequired(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentServiceEventRequiredTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentServiceEventClassCode() {
+ OperationsTestCase validateContinuityOfCareDocumentServiceEventClassCodeTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentServiceEventClassCode",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_SERVICE_EVENT_CLASS_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+ DocumentationOf dof = CDAFactory.eINSTANCE.createDocumentationOf();
+ ServiceEvent se = CDAFactory.eINSTANCE.createServiceEvent();
+ se.setClassCode(ActClassRoot.PCPR);
+ dof.setServiceEvent(se);
+ target.getDocumentationOfs().add(dof);
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentServiceEventClassCode(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentServiceEventClassCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentServiceEventEffectiveTime() {
+ OperationsTestCase validateContinuityOfCareDocumentServiceEventEffectiveTimeTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentServiceEventEffectiveTime",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_SERVICE_EVENT_EFFECTIVE_TIME__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+
+ IVL_TS ts = DatatypesFactory.eINSTANCE.createIVL_TS();
+ DocumentationOf dof = CDAFactory.eINSTANCE.createDocumentationOf();
+ ServiceEvent se = CDAFactory.eINSTANCE.createServiceEvent();
+ se.setClassCode(ActClassRoot.PCPR);
+ ts.setLow(DatatypesFactory.eINSTANCE.createIVXB_TS());
+ ts.setHigh(DatatypesFactory.eINSTANCE.createIVXB_TS());
+ se.setEffectiveTime(ts);
+ dof.setServiceEvent(se);
+ target.getDocumentationOfs().add(dof);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentServiceEventEffectiveTime(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentServiceEventEffectiveTimeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentLanguageCodeFormat() {
+ OperationsTestCase validateContinuityOfCareDocumentLanguageCodeFormatTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentLanguageCodeFormat",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_LANGUAGE_CODE_FORMAT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ public void addFailTests() {
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ // Do nothing should trigger
+
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("aaaa"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("AAAA"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("aa-aa"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("AA-AA"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("aaa"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("a"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("AA-aa"));
+ }
+ });
+
+ addFailTest(new FailTest() {
+
+ @Override
+ public void updateToFail(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("AA-"));
+ }
+ });
+
+ }
+
+ @Override
+ public void addPassTests() {
+ this.addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("en"));
+
+ }
+ });
+
+ this.addPassTest(new PassTest() {
+
+ @Override
+ public void updateToPass(ContinuityOfCareDocument target) {
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS("en-US"));
+
+ }
+ });
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentLanguageCodeFormat(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentLanguageCodeFormatTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentNoTemplateIdExtension() {
+ OperationsTestCase validateContinuityOfCareDocumentNoTemplateIdExtensionTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentNoTemplateIdExtension",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_NO_TEMPLATE_ID_EXTENSION__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ II te = DatatypesFactory.eINSTANCE.createII();
+ te.setRoot("2.16.840.1.113883.10.20.1");
+ te.setExtension("a");
+ target.getTemplateIds().add(te);
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.getTemplateIds().clear();
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentNoTemplateIdExtension(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentNoTemplateIdExtensionTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentHasEffectiveTimeSeconds() {
+ OperationsTestCase validateContinuityOfCareDocumentHasEffectiveTimeSecondsTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentHasEffectiveTimeSeconds",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_HAS_EFFECTIVE_TIME_SECONDS__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+ target.init();
+ TS ts = DatatypesFactory.eINSTANCE.createTS();
+ ts.setValue("123");
+
+ target.setEffectiveTime(ts);
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+
+ TS ts = DatatypesFactory.eINSTANCE.createTS();
+ ts.setValue("12345");
+
+ target.setEffectiveTime(ts);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentHasEffectiveTimeSeconds(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentHasEffectiveTimeSecondsTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentHasEffectiveTimeZone() {
+ OperationsTestCase validateContinuityOfCareDocumentHasEffectiveTimeZoneTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentHasEffectiveTimeZone",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_HAS_EFFECTIVE_TIME_ZONE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+ target.init();
+ TS ts = DatatypesFactory.eINSTANCE.createTS();
+ ts.setValue("20071213155200");
+
+ target.setEffectiveTime(ts);
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+
+ TS ts = DatatypesFactory.eINSTANCE.createTS();
+ ts.setValue("20071213155200-0500");
+
+ target.setEffectiveTime(ts);
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentHasEffectiveTimeZone(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentHasEffectiveTimeZoneTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentOneOrTwoRecordTarget() {
+ OperationsTestCase validateContinuityOfCareDocumentOneOrTwoRecordTargetTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentOneOrTwoRecordTarget",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_ONE_OR_TWO_RECORD_TARGET__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+ target.getRecordTargets().add(CDAFactory.eINSTANCE.createRecordTarget());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentOneOrTwoRecordTarget(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentOneOrTwoRecordTargetTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentHasAssignedAuthor() {
+ OperationsTestCase validateContinuityOfCareDocumentHasAssignedAuthorTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentHasAssignedAuthor",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_HAS_ASSIGNED_AUTHOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+ Author auth = CDAFactory.eINSTANCE.createAuthor();
+ AssignedAuthor aa = CDAFactory.eINSTANCE.createAssignedAuthor();
+ aa.setAssignedPerson(CDAFactory.eINSTANCE.createPerson());
+ auth.setAssignedAuthor(aa);
+ target.getAuthors().add(auth);
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentHasAssignedAuthor(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentHasAssignedAuthorTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentHasAssignedAuthorNullFlavor() {
+ OperationsTestCase validateContinuityOfCareDocumentHasAssignedAuthorNullFlavorTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentHasAssignedAuthorNullFlavor",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_HAS_ASSIGNED_AUTHOR_NULL_FLAVOR__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+ Author auth = CDAFactory.eINSTANCE.createAuthor();
+ AssignedAuthor aa = CDAFactory.eINSTANCE.createAssignedAuthor();
+ Organization org = CDAFactory.eINSTANCE.createOrganization();
+ aa.setRepresentedOrganization(org);
+ II id = DatatypesFactory.eINSTANCE.createII();
+ id.setNullFlavor(NullFlavor.NA);
+ aa.getIds().add(id);
+ auth.setAssignedAuthor(aa);
+ target.getAuthors().add(auth);
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentHasAssignedAuthorNullFlavor(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentHasAssignedAuthorNullFlavorTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentHasInformationRecipient() {
+ OperationsTestCase validateContinuityOfCareDocumentHasInformationRecipientTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentHasInformationRecipient",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_HAS_INFORMATION_RECIPIENT__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+ target.getInformationRecipients().add(CDAFactory.eINSTANCE.createInformationRecipient());
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentHasInformationRecipient(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentHasInformationRecipientTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentTemplateId() {
+ OperationsTestCase validateContinuityOfCareDocumentTemplateIdTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentTemplateId",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_TEMPLATE_ID__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentTemplateId(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentTemplateIdTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentCode() {
+ OperationsTestCase validateContinuityOfCareDocumentCodeTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentCode",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentCode(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentLanguageCode() {
+ OperationsTestCase validateContinuityOfCareDocumentLanguageCodeTestCase = new OperationsTestCase(
+ "validateContinuityOfCareDocumentLanguageCode",
+ operationsForOCL.getOCLValue("VALIDATE_CONTINUITY_OF_CARE_DOCUMENT_LANGUAGE_CODE__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP"),
+ objectFactory) {
+
+ @Override
+ protected void updateToFail(ContinuityOfCareDocument target) {
+
+ }
+
+ @Override
+ protected void updateToPass(ContinuityOfCareDocument target) {
+ target.init();
+ target.setLanguageCode(DatatypesFactory.eINSTANCE.createCS());
+ }
+
+ @Override
+ protected boolean validate(EObject objectToTest, BasicDiagnostic diagnostician, Map map) {
+
+ return ContinuityOfCareDocumentOperations.validateContinuityOfCareDocumentLanguageCode(
+ (ContinuityOfCareDocument) objectToTest, diagnostician, map);
+ }
+
+ };
+
+ validateContinuityOfCareDocumentLanguageCodeTestCase.doValidationTest();
+ }
+
+ /**
+ *
+ * @generated NOT
+ */
+ @Test
+ public void testValidateContinuityOfCareDocumentProblemSection() {
+ OperationsTestCase